Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

view existing grants on a database / table

Status
Not open for further replies.

philipose

Programmer
Dec 24, 2003
137
US
Hi db2 gurus,

I am not a DBA. If I have select / connect access to a DB2 database and a few tables in the database, can I view all the grants on that dataase and those tables ? If so can you direct me to which system table should I query on ?

Thanks
Philipose
 
Suggest you ask your dba who can show you how to do this if you are permitted to read these.

Even if you don't have permission to run the query, the dba might be willing to provide the info you want (depending on just what you want).
 
Sathyaram,

I was away for a few days. Here is the verion and fix pack information.

hbuhydpf@usvh2euap2c:/home/hbuhydpf=> db2level
DB21085I Instance "iuiap01" uses "64" bits and DB2 code release "SQL09014"
with level identifier "01050107".
Informational tokens are "DB2 v9.1.0.4", "s080122", "U815768", and Fix Pack
"4a".

Let me do the search as your suggested.

Thanks
Philipose
 
sathyarama,
thank you very much. I got the information needed from SYSCAT.TABAUTH

Thanks
philipose
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top