Oracle System Privilege Grants to Roles : dba_sys_privs « System Tables Data Dictionary « Oracle PL/SQL Tutorial

Oracle PL/SQL Tutorial
1. Introduction
2. Query Select
3. Set
4. Insert Update Delete
5. Sequences
6. Table
7. Table Joins
8. View
9. Index
10. SQL Data Types
11. Character String Functions
12. Aggregate Functions
13. Date Timestamp Functions
14. Numerical Math Functions
15. Conversion Functions
16. Analytical Functions
17. Miscellaneous Functions
18. Regular Expressions Functions
19. Statistical Functions
20. Linear Regression Functions
21. PL SQL Data Types
22. PL SQL Statements
23. PL SQL Operators
24. PL SQL Programming
25. Cursor
26. Collections
27. Function Procedure Packages
28. Trigger
29. SQL PLUS Session Environment
30. System Tables Data Dictionary
31. System Packages
32. Object Oriented
33. XML
34. Large Objects
35. Transaction
36. User Privilege
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Oracle PL/SQL Tutorial » System Tables Data Dictionary » dba_sys_privs 
30. 40. 2. Oracle System Privilege Grants to Roles
SQL>
SQL> SELECT privilege what_granted,
  2         admin_option, grantee
  3  FROM   sys.dba_sys_privs
  4  WHERE  NOT EXISTS
  5  (SELECT 'x'
  6  FROM    sys.dba_users
  7  WHERE   username = grantee)
  8  and     rownum < 50
  9  ORDER BY 1,2;

WHAT_GRANTED                             ADM GRANTEE
---------------------------------------- --- ------------------------------
ADMINISTER ANY SQL TUNING SET            YES DBA
ALTER ANY INDEXTYPE                      YES DBA
ALTER ANY LIBRARY                        YES DBA
ALTER ANY PROCEDURE                      YES DBA
ALTER ANY RULE SET                       YES DBA
ALTER ANY SQL PROFILE                    YES DBA
ALTER DATABASE                           YES DBA
ALTER PROFILE                            YES DBA
ALTER ROLLBACK SEGMENT                   YES DBA
ALTER SESSION                            YES DBA
BECOME USER                              NO  IMP_FULL_DATABASE

WHAT_GRANTED                             ADM GRANTEE
---------------------------------------- --- ------------------------------
BECOME USER                              YES DBA
CHANGE NOTIFICATION                      YES DBA
CREATE ANY DIRECTORY                     YES DBA
CREATE ANY JOB                           YES SCHEDULER_ADMIN
CREATE ANY LIBRARY                       YES DBA
CREATE ANY MATERIALIZED VIEW             NO  IMP_FULL_DATABASE
CREATE ANY SYNONYM                       NO  IMP_FULL_DATABASE
CREATE DIMENSION                         YES DBA
CREATE JOB                               NO  OEM_ADVISOR
CREATE ROLE                              YES DBA
CREATE RULE                              YES DBA

WHAT_GRANTED                             ADM GRANTEE
---------------------------------------- --- ------------------------------
CREATE RULE SET                          YES DBA
CREATE SESSION                           YES DBA
CREATE SYNONYM                           NO  RECOVERY_CATALOG_OWNER
DEBUG ANY PROCEDURE                      YES DBA
DELETE ANY TABLE                         YES DBA
DEQUEUE ANY QUEUE                        YES DBA
DROP ANY INDEX                           YES DBA
DROP ANY INDEXTYPE                       YES DBA
DROP ANY LIBRARY                         NO  IMP_FULL_DATABASE
DROP ANY MATERIALIZED VIEW               YES DBA
DROP ANY TRIGGER                         NO  IMP_FULL_DATABASE

WHAT_GRANTED                             ADM GRANTEE
---------------------------------------- --- ------------------------------
DROP ANY TRIGGER                         YES DBA
DROP ROLLBACK SEGMENT                    YES DBA
DROP TABLESPACE                          YES DBA
EXECUTE ANY EVALUATION CONTEXT           YES DBA
EXECUTE ANY LIBRARY                      YES DBA
EXECUTE ANY PROCEDURE                    NO  IMP_FULL_DATABASE
EXECUTE ANY PROCEDURE                    YES DBA
EXPORT FULL DATABASE                     YES DBA
FORCE ANY TRANSACTION                    YES DBA
INSERT ANY TABLE                         YES DBA
MANAGE ANY QUEUE                         NO  OEM_MONITOR

WHAT_GRANTED                             ADM GRANTEE
---------------------------------------- --- ------------------------------
READ ANY FILE GROUP                      NO  EXP_FULL_DATABASE
SELECT ANY SEQUENCE                      YES DBA
SELECT ANY TABLE                         YES DBA
UNDER ANY TYPE                           YES DBA
UPDATE ANY TABLE                         YES DBA

49 rows selected.

SQL>
30. 40. dba_sys_privs
30. 40. 1. Oracle System Privilege Grants to Users
30. 40. 2. Oracle System Privilege Grants to Roles
30. 40. 3. User System Privileges
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.