16.20 - Example: Using RoleInfoV - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ Data Dictionary

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
zzu1512081120577.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

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