17.10 - Usage Notes - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Dictionary

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

To display the privileges that the user has been granted on database D, the SELECT statement must specify:

WHERE DatabaseName = ’D’ AND TableName = ’All’ ;

If privileges have been granted on the database, a row is returned for each privilege.

The UserRightsV view does not return information about implicit privileges of a user due to ownership of objects, nor does it return information about privileges inherited by a user from PUBLIC or roles.

To obtain information about privileges inherited from roles, use the UserRoleRightsV view. For implicit privileges, use the ChildrenV[X] and TablesV[X] views to determine all the objects owned by a user.

For information about the possible values for the AccessRight column, see "AccessRight Column."