17.00 - Example: Using AllRightsV - 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 displays the privileges user Jones has on tables:

SELECT Tablename, AccessRight, GrantorName
       FROM DBC.AllRightsV WHERE UserName = ’Jones’;

Result:

TableName           AccessRight          GrantorName
----------          -----------          -------------
project             RS                   SYSTEMAD
project             DP                   SYSTEMAD
project             DT                   SYSTEMAD
project             D                    SYSTEMAD
project             I                    SYSTEMAD
project             U                    SYSTEMAD
project             R                    SYSTEMAD
employee            I                    SYSTEMAD
employee            U                    SYSTEMAD