Teradata: Rights Held by Database

visibility 48 access_time 2 years ago languageEnglish

Teradata Administrator tool used to have a function to show rights held by a database.

You can also directly use SQL to query that instead of relying on the GUI tool.

Rights held by a database

select * from dbc.allrights
where UserName='TestDb';

The above code snippet returns all the access rights held by database container TestDb

Rights held by a user

For Teradata, a user is also a database. Thus you can use same SQL to query rights held by a database user:

select * from dbc.allrights
where UserName='DBC';

copyright This page is subject to Site terms.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

timeline Stats
Page index 0.10
More from Kontext
Convert TimeStamp to Date in Teradata
visibility 16,351
thumb_up 0
access_time 2 years ago
Load XML File into Teradata via BTEQ
visibility 713
thumb_up 0
access_time 2 years ago
Teradata ISNULL Alternatives
visibility 816
thumb_up 0
access_time 2 years ago