Examples of Granting Database DDL Privileges
-
Granting
SUPERUSER
the privilege to create databases:GRANT CREATE DATABASE TO USER Superuser;
-
Granting
JOE
the privilege to executeALTER DATABASE
for the current database:GRANT ALTER DATABASE TO USER Joe;
-
Granting
FEDOR
the privilege to drop the current database:GRANT DROP DATABASE TO USER Fedor;