for more information, here is the documentation on that view
http://download.oracle.com
Main Topics
Browse All TopicsWhat privileges does DBA_TAB_PRIVS contain? I read that it can be used to find all grants to a particular table but I don't find one table that I created.
Does it only list explicitly granted privileges? How can I find whether a particular user has a certain privilege on a table?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
for more information, here is the documentation on that view
http://download.oracle.com
You will begin so:
SQL> descr dba_tab_privs
Name Null? Type
--------------------------
GRANTEE NOT NULL VARCHAR2(30)
OWNER NOT NULL VARCHAR2(30)
TABLE_NAME NOT NULL VARCHAR2(30)
GRANTOR NOT NULL VARCHAR2(30)
PRIVILEGE NOT NULL VARCHAR2(40)
GRANTABLE VARCHAR2(3)
HIERARCHY VARCHAR2(3)
If you want to see all grants to user SCOTT:
SELECT privilege
FROM dba_tab_privs
WHERE grantor <> 'SCOTT'
AND grantee = 'SCOTT';
All
SELECT privilege
FROM dba_tab_privs ;
Thank you both for the responses. but it still does not answer my question.
from the link: "describes the object grants for which the current user is the object owner, grantor, or grantee."
Does this mean that the table contains only explicit grants? Does it not include privileges obtained via some rule? e.g. by default creator/owner gets all privs on that object so those are not listed; privileges gained by "grant select on any table" (plz excuse syntax errors) are not listed; etc.
What I want to see is not "grants" but "privileges."
yes, dba_tab_privs only shows explict grants to users and to roles.
"implicit" grants such as your example of an owner's privileges aren't visible anywhere, they just "are".
inherited grants are not listed either, you would have to derive those yourself. For instance, select on some table granted to a role, where that role is then granted to a user, the user's grant would not be shown.
system privileges like "create table" or "select any table" are found in dba_sys_privs and like the object grants above, it lists explicit grants and not inherited ones.
Business Accounts
Answer for Membership
by: sdstuberPosted on 2008-10-15 at 09:48:57ID: 22723152
it holds other privileges too
grants to users or to roles on all objects (not just tables, despite the name) are in that view.