17.05 - DEFAULT ROLE - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)

The assignment of a default role provides a user with an enabled role at logon. If you do not assign a default role to the user, or if the user wants to enable a different assigned role, the user must submit a SET ROLE request to enable the needed role for a session. See SET ROLE.

role_name
Name of a role (which may include nested roles) to assign as the default role for the user, replacing the previously existing default role if it exists. The specified role must already be granted to the user.
ALL
Indicates that all roles currently granted to the user, including any nested roles, are enabled by default.
NONE
No default role is assigned to the user.
NULL
Removes any previous default role assignment and does not assign a default role to the user.