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;
11

Try this:

select * from user_sys_privs

  • 1
    Correct. As "CREATE ANY TABLE" is not a table privilege (tied to a specific table) it's not listed in XXX_TAB_PRIVS. – a_horse_with_no_name Sep 20 '11 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 Sep 20 '11 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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