Difference between revisions of "GRANT ALL"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
  
 
* <code>[[\dn+]]</code>
 
* <code>[[\dn+]]</code>
 +
* <code>[[GRANT USAGE]]</code>
  
 
== See also ==
 
== See also ==
 
* {{GRANT}}
 
* {{GRANT}}

Revision as of 14:38, 28 April 2022


GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
    ON SCHEMA schema_name [, ...]
    TO { username [ WITH GRANT OPTION ] | ROLE role_name | GROUP group_name | PUBLIC } [, ...]

Examples:

GRANT ALL PRIVILEGES ON SCHEMA your_schema TO your_username
GRANT ALL PRIVILEGES ON SCHEMA your_schema TO ROLE your_rolename
GRANT ALL PRIVILEGES ON SCHEMA your_schema TO GROUP your_group


See also

Advertising: