Oacle 사용자 가 가지 고 있 는 권한 과 역할 을 어떻게 봅 니까?

1270 단어 Oacle권한
    ,  :
1.      :
select * from dba_users;
select * from all_users;
select * from user_users;

2.           (               ):
select * from dba_sys_privs;
select * from user_sys_privs;

3.    (             )      
sql>select * from role_sys_privs;

4.        :
select * from dba_tab_privs;
select * from all_tab_privs;
select * from user_tab_privs;

5.      :
select * from dba_roles;

6.             :
select * from dba_role_privs;
select * from user_role_privs;

7.       sysdba sysoper    (         )
select * from V$PWFILE_USERS

         wzsb      :
SQL> select * from dba_sys_privs where grantee='WZSB';

GRANTEE PRIVILEGE ADMIN_OPTION
------------------------------ ---------------------------------------- ------------
WZSB CREATE TRIGGER NO
WZSB UNLIMITED TABLESPACE NO
         wzsb      :
SQL> select * from dba_role_privs where grantee='WZSB';

GRANTEE GRANTED_ROLE ADMIN_OPTION DEFAULT_ROLE
------------------------------ ------------------------------ ------------ ------------
WZSB DBA NO YES
              
select privilege from dba_sys_privs where grantee='WZSB'
union
select privilege from dba_sys_privs where grantee in
(select granted_role from dba_role_privs where grantee='WZSB' );

좋은 웹페이지 즐겨찾기