Home » SQL & PL/SQL » SQL & PL/SQL » Which system table I can check these grants available in my database or not? (Oracle 11g)
Which system table I can check these grants available in my database or not? [message #634176] Thu, 05 March 2015 04:50 Go to next message
na.dharma@gmail.com
Messages: 82
Registered: May 2008
Location: bangalore
Member

Which system table I can check these grants available in my database or not?

select_catalog_role
create any context
Re: Which system table I can check these grants available in my database or not? [message #634177 is a reply to message #634176] Thu, 05 March 2015 04:53 Go to previous messageGo to next message
Roachcoach
Messages: 1576
Registered: May 2010
Location: UK
Senior Member
dba_sys_privs
dba_role_privs
Re: Which system table I can check these grants available in my database or not? [message #634184 is a reply to message #634176] Thu, 05 March 2015 05:46 Go to previous messageGo to next message
Michel Cadot
Messages: 68645
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

All catalog views are described in Database Reference

Re: Which system table I can check these grants available in my database or not? [message #634185 is a reply to message #634184] Thu, 05 March 2015 05:50 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
While quick assistance can be obtained from dictionary, such as
SQL> show user
USER is "SCOTT"
SQL> select * from dictionary where table_name like '%ROLE%';

TABLE_NAME           COMMENTS
-------------------- --------------------------------------------------
USER_ROLE_PRIVS      Roles granted to current user
ROLE_ROLE_PRIVS      Roles which are granted to roles
ROLE_SYS_PRIVS       System privileges granted to roles
ROLE_TAB_PRIVS       Table privileges granted to roles
SESSION_ROLES        Roles which the user currently has enabled.

SQL>
Re: Which system table I can check these grants available in my database or not? [message #634186 is a reply to message #634185] Thu, 05 March 2015 06:11 Go to previous messageGo to next message
na.dharma@gmail.com
Messages: 82
Registered: May 2008
Location: bangalore
Member

What is purpose of create any context grant?
Re: Which system table I can check these grants available in my database or not? [message #634187 is a reply to message #634186] Thu, 05 March 2015 06:24 Go to previous message
Roachcoach
Messages: 1576
Registered: May 2010
Location: UK
Senior Member
na.dharma@gmail.com wrote on Thu, 05 March 2015 12:11
What is purpose of create any context grant?



Read the book
Previous Topic: synonyms parameter
Next Topic: Writing a Hierarchical Query without using the connect by prior
Goto Forum:
  


Current Time: Fri Apr 26 06:27:55 CDT 2024