Difference between revisions of "GRANT ALL"
Jump to navigation
Jump to search
(Created page with " * GRANT ALL PRIVILEGES {{GRANT}}") |
|||
Line 1: | Line 1: | ||
+ | |||
+ | GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] } | ||
+ | ON SCHEMA schema_name [, ...] | ||
+ | TO { username [ WITH GRANT OPTION ] | ROLE role_name | GROUP group_name | PUBLIC } [, ...] | ||
+ | Examples: | ||
+ | <code>GRANT ALL PRIVILEGES ON SCHEMA your_schema TO your_username</code> | ||
+ | <code>GRANT ALL PRIVILEGES ON SCHEMA your_schema TO ROLE your_rolename</code> | ||
+ | <code>GRANT ALL PRIVILEGES ON SCHEMA your_schema TO GROUP your_group</code> | ||
* [[GRANT ALL PRIVILEGES]] | * [[GRANT ALL PRIVILEGES]] |
Revision as of 14:19, 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
GRANT
, \ddp
, GRANT USAGE
, GRANT ALL PRIVILEGES
, GRANT SELECT
, View GRANTs on Redshift, has_table_privilege
, has_schema_privilege
, HAS_DATABASE_PRIVILEGE
, SCHEMA
, Privileges, GRANT EXECUTE
Advertising: