日期:2014-05-17 浏览次数:20906 次
=====================================================
select * from session_roles;
01 CONNECT
02 RESOURCE
03 DBA
04 SELECT_CATALOG_ROLE
05 HS_ADMIN_SELECT_ROLE
06 EXECUTE_CATALOG_ROLE
07 HS_ADMIN_EXECUTE_ROLE
08 DELETE_CATALOG_ROLE
09 EXP_FULL_DATABASE
10 IMP_FULL_DATABASE
11 DATAPUMP_EXP_FULL_DATABASE
12 DATAPUMP_IMP_FULL_DATABASE
13 GATHER_SYSTEM_STATISTICS
14 SCHEDULER_ADMIN
15 WM_ADMIN_ROLE
16 JAVA_ADMIN
17 JAVA_DEPLOY
18 XDBADMIN
19 XDB_SET_INVOKER
20 OLAP_XS_ADMIN
21 OLAP_DBA
22 RECOVERY_CATALOG_OWNER
=================================================
select * from session_privs;
86 UNDER ANY TYPE
87 CREATE LIBRARY
88 CREATE ANY LIBRARY
89 ALTER ANY LIBRARY
90 DROP ANY LIBRARY
91 EXECUTE ANY LIBRARY
92 CREATE OPERATOR
93 CREATE ANY OPERATOR
94 ALTER ANY OPERATOR
95 DROP ANY OPERATOR
96 EXECUTE ANY OPERATOR
97 CREATE INDEXTYPE
98 CREATE ANY INDEXTYPE
99 ALTER ANY INDEXTYPE
100 DROP ANY INDEXTYPE
101 UNDER ANY VIEW
102 QUERY REWRITE
103 GLOBAL QUERY REWRITE
104 EXECUTE ANY INDEXTYPE
105 UNDER ANY TABLE
106 CREATE DIMENSION
107 CREATE ANY DIMENSION
108 ALTER ANY DIMENSION
109 DROP ANY DIMENSION
110 MANAGE ANY QUEUE
111 ENQUEUE ANY QUEUE
112 DEQUEUE ANY QUEUE
113 CREATE ANY CONTEXT
114 DROP ANY CONTEXT
115 CREATE ANY OUTLINE
116 ALTER ANY OUTLINE
117 DROP ANY OUTLINE
118 ADMINISTER RESOURCE MANAGER
119 ADMINISTER DATABASE TRIGGER
120 MERGE ANY VIEW