DEFAULT ROLE - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

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.