7

On a database I had to execute the following two statements:

GRANT CREATE ANY TABLE TO MyUSER;
GRANT DROP ANY TABLE TO MyUSER;

What I miss is the query which tells me that those grants are given. I don't see them in

select * from USER_TAB_PRIVS ORDER BY 2 ;
select * from USER_ROLE_PRIVS ORDER BY 1, 2;

1 Answer 1

11

Try this:

select * from user_sys_privs

2
  • 1
    Correct. As "CREATE ANY TABLE" is not a table privilege (tied to a specific table) it's not listed in XXX_TAB_PRIVS.
    – user1822
    Commented Sep 20, 2011 at 11:28
  • 1
    I'll give you a hint for in the future @Vijay ... A longer answer is better. Maybe a tiny blurb about why they would do this?
    – jcolebrand
    Commented Sep 20, 2011 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.