The current user wants to produce a list of all user privileges she has been granted. Which table or view can be queried to produce the desired result?
The correct answer is C. SYSIBMADM.PRIVILEGES
Indeed, the tables SYSIBMADM.GRANTS and SYSCAT.USER_TAB_PRIVS do not exists in Db2.
The table syscat.dbauth is used prior to version 9.1.
In the version 11.1, you must use sysibmadm.privileges.
Reference :
https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.sec.doc/doc/t0005823.html
https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.sec.doc/doc/t0005819.html
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
JamesBond
3 years, 4 months agoKalliopi
4 years, 2 months agodb2tester
5 years, 1 month ago