oracle user privs
select * from dba_role_privs s where s.GRANTEE='MAO';
select * from dba_sys_privs where GRANTEE='MAO';
select * from dba_col_privs where GRANTEE='MAO';
select * from dba_tab_privs tp where tp.grantee='MAO'
[@more@]SELECT dbms_metadata.get_ddl('USER','MAO') FROM dual;SELECT DBMS_METADATA.GET_GRANTED_DDL('ROLE_GRANT','MAO') from dual;
SELECT DBMS_METADATA.GET_GRANTED_DDL('OBJECT_GRANT','MAO') from dual;
SELECT DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','MAO') from dual;
SELECT dbms_metadata.get_ddl('ROLE','DBA') from dual;
SELECT DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','DBA') from dual;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9907339/viewspace-1052462/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Script to Show System and Object Privs for a User (Doc ID 1019508.6)Object
- 檢視某個使用者在某個物件的許可權,可以查dba_tab_privs 或者user_tab_privs物件
- oracle user$Oracle
- Oracle OCP(28):USEROracle
- [Oracle Script] check userOracle
- 【oracle】user_tablesOracle
- ORACLE USER 變數值Oracle變數
- Oracle中drop user和drop user cascade的區別Oracle
- Oracle ASM User Directory and Group DirectoryOracleASM
- [Oracle Script] check object count by userOracleObject
- How To Delete An Oracle Applications UserdeleteOracleAPP
- oracle 10g user streamOracle 10g
- ORACLE SQL DEVELOPER User Interface ChangeOracleSQLDeveloper
- Oracle OCP(31):USER & ROLE & PRIVILEGE 其它Oracle
- ORACLE user profile配置/管理/維護Oracle
- Oracle User 和 Schema 的區別Oracle
- Oracle裡面的user被lock了Oracle
- SESSION_PRIVS和SESSION_ROLES動態檢視Session
- oracle profile sessions_per_user的用法OracleSession
- oracle備份指令碼_user_passwordOracle指令碼
- Oracle:Authid Current_User的使用(轉)Oracle
- Administrative User Accounts Provided by Oracle DatabaseIDEOracleDatabase
- ST's Ch02 修改Oracle User Process。Oracle
- Oracle資料庫系統檢視USER_TAB_COLS和USER_TAB_COLUMNS 【轉】Oracle資料庫
- Oracle基礎 08 使用者角色 user/roleOracle
- oracle database backup and recovery user's guide part IVOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part IIIOracleDatabaseGUIIDE
- oracle 10.2.0.3對USER收回CONNECT及RESOURCEOracle
- 詳解oracle使用者建立(create user)(下)Oracle
- 詳解oracle使用者建立(create user)(上)Oracle
- 水煮oracle33---關於oracle中segment、schema和user區別Oracle
- Oracle中User和Schema的區別和聯絡Oracle
- oracle database backup and recovery user's guide part VII & VIIIOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part V & VIOracleDatabaseGUIIDE
- oracle database backup and recovery user's guide part I & IIOracleDatabaseGUIIDE
- Oracle資料庫中Create user的注意事項Oracle資料庫
- monitor sys and system user(轉自http://www.oracle.com)HTTPOracle
- ORACLE 儲存過程中的Authid Current_UserOracle儲存過程