DROP DATABASE ROLE

statementsupportedAccess control (grants, roles)

docs.snowflake.com ↗

Object: DATABASE ROLE

Removes the specified database role from the system.

Syntax

supportedpartialnot supportednot scored

DROP DATABASE ROLE [ IF EXISTS ] <name>

Parameters

NameRequiredDescription
nameSpecifies the identifier (i.e. name) for the database role; must be unique in the database in which the role is created. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the entire identifier string is enclosed in double quotes (e.g. "My object"). Identifiers enclosed in double quotes are also case-sensitive. If the identifier is not fully qualified (in the form of db_name.database_role_name, the command looks for the database role in the current database for the session.

Usage notes

See also

Referenced by