DCL Syntax Overview
Data control language (DCL) is used to set or change the permissions of database users or roles.
Granting Rights
GaussDB provides a statement for granting rights to data objects and roles. For details, see GRANT.
Revoking Rights
GaussDB provides a statement for revoking rights. For details, see REVOKE.
Setting Default Rights
GaussDB allows users to set rights for objects that will be created. For details, see .ALTER DEFAULT PRIVILEGES
Changing Owners
GaussDB provides statements for changing owners of database objects. For details, see REASSIGN OWNED.