Difference between revisions of "GRANT ALL"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
  
 
* [[GRANT ALL PRIVILEGES]]
 
* [[GRANT ALL PRIVILEGES]]
 +
* [[GRANT USAGE, SELECT, UPDATE ON]]
  
  

Revision as of 08:15, 23 July 2024


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: