REVOKE DATABASE ROLE¶
Revokes a database role from an account role or another database role.
- See also:
GRANT DATABASE ROLE , GRANT ROLE , REVOKE ROLE , GRANT <privileges> … TO ROLE
Syntax¶
Parameters¶
nameSpecifies the identifier for the database role to revoke. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
DATABASE ROLE parent_role_nameRevokes the database role from the specified database role.
ROLE parent_role_nameRevokes the database role from the specified account role.
APPLICATION app_nameRevokes the database role from the specified Snowflake Native App.
Examples¶
Revokes the database role named analyst from the account role named SYSADMIN.
Revokes the database role named dr1 from another database role named dr2.
Revokes the database role named dr1 from the Snowflake Native App named hello_snowflake_app.