Example: Using RoleInfoV - Advanced SQL Engine - Teradata Database

Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-10-15
dita:mapPath
yoz1556235523563.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1092
lifecycle
previous
Product Category
Teradata Vantage™

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