SQL> desc dba_views;Name Null? Type ----------------------------------------- -------- ---------------------------- OWNER NOT NULL VARCHAR2(30) VIEW_NAME NOT NULL VARCHAR2(30) TEXT_LENGTH NUMBER TEXT LONG TYPE_TEXT_LENGTH NUMBER TYPE_TEXT VARCHAR2(4000) OID_TEXT_LENGTH NUMBER OID_TEXT VARCHAR2(4000) VIEW_TYPE_OWNER VARCHAR2(30) VIEW_TYPE VARCHAR2(30) SUPERVIEW_NAME VARCHAR2(30) EDITIONING_VIEW VARCHAR2(1) READ_ONLY VARCHAR2(1)
SQL> select view_name from dba_views where view_name like'%ROLE%';VIEW_NAME ------------------------------ V$XS_SESSION_ROLE DBA_APPLICATION_ROLES USER_APPLICATION_ROLES EXU9NTAROLE EXU81APPROLE DBA_ROLES DBA_ROLE_PRIVS USER_ROLE_PRIVS ROLE_ROLE_PRIVS ROLE_SYS_PRIVS ROLE_TAB_PRIVS VIEW_NAME ------------------------------ EXU10NTAROLE SESSION_ROLES XS_SESSION_ROLES DBA_SCHEDULER_JOB_ROLES KU$_DEFROLE_LIST_VIEW KU$_DEFROLE_VIEW KU$_DUMMY_ROLE_VIEW KU$_PROXY_ROLE_LIST_VIEW KU$_ROLE_VIEW DBA_CONNECT_ROLE_GRANTEES PROXY_ROLES VIEW_NAME ------------------------------ PROXY_USERS_AND_ROLES ROLE_WM_PRIVS MGMT$ESA_DBA_ROLE_REPORT 25 rows selected.
SQL> desc dict;Name Null? Type ----------------------------------------- -------- ---------------------------- TABLE_NAME VARCHAR2(30) COMMENTS VARCHAR2(4000)
SQL> select * from dict where table_name like '%ROLE%';TABLE_NAME ------------------------------ COMMENTS -------------------------------------------------------------------------------- DBA_ROLES All Roles which exist in the database DBA_ROLE_PRIVS Roles granted to users and roles USER_ROLE_PRIVS Roles granted to current user TABLE_NAME ------------------------------ COMMENTS -------------------------------------------------------------------------------- DBA_SCHEDULER_JOB_ROLES All scheduler jobs in the database by database role DBA_CONNECT_ROLE_GRANTEES Information regarding which users are granted CONNECT ROLE_ROLE_PRIVS Roles which are granted to roles TABLE_NAME ------------------------------ COMMENTS -------------------------------------------------------------------------------- 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. 9 rows selected.
Search This Blog
Saturday, November 9, 2013
How To Find Views And What Information They Provide In Oracle Database ?
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment