ALTER APPLICATION ROLE

statementpartialNative apps, listings & sharing

docs.snowflake.com ↗

Object: APPLICATION ROLE

Modifies the properties for an existing application role. The Snowflake Native App Framework is generally available on supported cloud platforms. For additional information, see Support for private connectivity, VPS, and government regions.

Syntax

supportedpartialnot supportednot scored

ALTER APPLICATION ROLE [ IF EXISTS ] <name> RENAME TO <new_name>

ALTER APPLICATION ROLE [ IF EXISTS ] <name> SET COMMENT = '<string_literal>'

ALTER APPLICATION ROLE [ IF EXISTS ] <name> UNSET COMMENT

Parameters

NameRequiredDescription
nameSpecifies the identifier for the application role. 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.
RENAME TO new_nameSpecifies the new identifier for the application role. The identifier must be unique for within the application. For more details, see Identifier requirements. Note that when specifying the fully-qualified name of the application role, you cannot specify a different application. The name of the application, application_name, must remain the same. Only the application_role_name can change during a rename operation.
SET ...Specifies the properties to set for the application role:
COMMENT = 'string_literal'Adds a comment or overwrites an existing comment for the application role.
UNSET ...Specifies the properties to unset for the application role, which resets them to the defaults. COMMENT

Usage notes

Known gaps

Parts not fully supported, and recorded divergences from Snowflake.

See also

Referenced by