17.10 - Example: Using RoleInfoV - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1092-171K
Language
English (United States)

The following SELECT statement returns the names of the role creators:

SELECT rolename (char(8)), creatorname (char(8)), commentstring (char(20)), createtimestamp, ExtRole from DBC.RoleinfoV;

Result:

RoleName  CreatorName  CommentString         CreateTimeStamp     ExtRole
--------  -----------  --------------------  ------------------- -------
r1        u1           Comments on r1        2002-08-13 10:26:19 N
r2        u2           Comments on r2        2002-08-13 10:26:25 Y