Example: Using AllRightsV - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

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