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>

Syntax¶

REVOKE DATABASE ROLE <name> FROM ROLE <parent_role_name>
Copy

Parameters¶

name

Specifies 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.

ROLE parent_role_name

Revokes the database role from the specified role.

Examples¶

REVOKE DATABASE ROLE analyst FROM ROLE SYSADMIN;
Copy