Difference between revisions of "GRANT ALL"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
  
  
{{GRANT}}
+
== See also ==
 +
* {{GRANT}}

Revision as of 14:32, 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: