17.00 - Example: Using RoleInfoV - Teradata Database

Teradata Vantage™ - Data Dictionary

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
Programming Reference
featnum
B035-1092-170K

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