Dropping the Default Role - Advanced SQL Engine - Teradata Database

Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ied1556235912841.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1100
lifecycle
previous
Product Category
Teradata Vantageā„¢

If you drop the default role for a user, the system no longer defaults to a role when the user logs on, and the user must use the SET ROLE statement to activate a role.

The system records DROP statements in the Data Dictionary. However, a DROP ROLE statement does not affect the user rows in DBC.Dbase, so the system does not reset the corresponding default role setting for affected users. When an affected user next logs on, the system does not return an error or warning if the role does not exist.

You can reset the default role for a user with the MODIFY USER statement.