17.10 - Dropping the Default Role - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Advanced SQL Engine Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2022-02-15
dita:mapPath
ppz1593203596223.ditamap
dita:ditavalPath
wrg1590696035526.ditaval
dita:id
zuy1472246340572

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.