Query user_tab_privs : user_tab_privs « System Tables Views « Oracle PL / SQL

Oracle PL / SQL
1. Aggregate Functions
2. Analytical Functions
3. Char Functions
4. Constraints
5. Conversion Functions
6. Cursor
7. Data Type
8. Date Timezone
9. Hierarchical Query
10. Index
11. Insert Delete Update
12. Large Objects
13. Numeric Math Functions
14. Object Oriented Database
15. PL SQL
16. Regular Expressions
17. Report Column Page
18. Result Set
19. Select Query
20. Sequence
21. SQL Plus
22. Stored Procedure Function
23. Subquery
24. System Packages
25. System Tables Views
26. Table
27. Table Joins
28. Trigger
29. User Previliege
30. View
31. XML
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 Tutorial
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 » System Tables Views » user_tab_privs 
Query user_tab_privs
 
SQL>
SQL>
SQL> desc user_tab_privs;
 Name                   Null?    Type
-----------------------------------------------------------------------------------------
 GRANTEE               NOT NULL  VARCHAR2(30)
 OWNER                 NOT NULL  VARCHAR2(30)
 TABLE_NAME            NOT NULL  VARCHAR2(30)
 GRANTOR               NOT NULL  VARCHAR2(30)
 PRIVILEGE             NOT NULL  VARCHAR2(40)
 GRANTABLE                       VARCHAR2(3)
 HIERARCHY                       VARCHAR2(3)

SQL> select from user_tab_privs where rownum < 50;

GRANTEE                        OWNER                          TABLE_NAME                     GRANTOR                PRIVILEGE                                GRA HIE
------------------------------ ------------------------------ ------------------------------ ------------------------------ ---------------------------------------- --- ---
CTXSYS                         SYS                            ICOL$                          SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            CON$                           SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            IND$                           SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            COL$                           SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            TS$                            SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            CCOL$                          SYS                    SELECT                                   YES NO
FLOWS_020100                   SYS                            USER$                          SYS                    SELECT                                   YES NO
XDB                            SYS                            USER$                          SYS                    SELECT                                   NO  NO
CTXSYS                         SYS                            USER$                          SYS                    SELECT                                   YES NO
FLOWS_020100                   SYS                            OBJ$                           SYS                    SELECT                                   NO  NO
CTXSYS                         SYS                            OBJ$                           SYS                    SELECT                                   YES NO

GRANTEE                        OWNER                          TABLE_NAME                     GRANTOR                PRIVILEGE                                GRA HIE
------------------------------ ------------------------------ ------------------------------ ------------------------------ ---------------------------------------- --- ---
CTXSYS                         SYS                            TAB$                           SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            CDEF$                          SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            SYN$                           SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            VIEW$                          SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            ARGUMENT$                      SYS                    SELECT                                   YES NO
CTXSYS                         SYS                            SYSAUTH$                       SYS                    SELECT                                   YES NO
EXP_FULL_DATABASE              SYS                            INCEXP                         SYS                    UPDATE                                   NO  NO
EXP_FULL_DATABASE              SYS                            INCEXP                         SYS                    INSERT                                   NO  NO
EXP_FULL_DATABASE              SYS                            INCEXP                         SYS                    DELETE                                   NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    FLASHBACK                                NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    DEBUG                                    NO  NO

GRANTEE                        OWNER                          TABLE_NAME                     GRANTOR                PRIVILEGE                                GRA HIE
------------------------------ ------------------------------ ------------------------------ ------------------------------ ---------------------------------------- --- ---
SYSTEM                         SYS                            INCEXP                         SYS                    QUERY REWRITE                            NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    ON COMMIT REFRESH                        NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    REFERENCES                               NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    UPDATE                                   NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    SELECT                                   NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    INSERT                                   NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    INDEX                                    NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    DELETE                                   NO  NO
SYSTEM                         SYS                            INCEXP                         SYS                    ALTER                                    NO  NO
EXP_FULL_DATABASE              SYS                            INCVID                         SYS                    UPDATE                                   NO  NO
EXP_FULL_DATABASE              SYS                            INCVID                         SYS                    INSERT                                   NO  NO

GRANTEE                        OWNER                          TABLE_NAME                     GRANTOR                PRIVILEGE                                GRA HIE
------------------------------ ------------------------------ ------------------------------ ------------------------------ ---------------------------------------- --- ---
EXP_FULL_DATABASE              SYS                            INCVID                         SYS                    DELETE                                   NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    FLASHBACK                                NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    DEBUG                                    NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    QUERY REWRITE                            NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    ON COMMIT REFRESH                        NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    REFERENCES                               NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    UPDATE                                   NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    SELECT                                   NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    INSERT                                   NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    INDEX                                    NO  NO
SYSTEM                         SYS                            INCVID                         SYS                    DELETE                                   NO  NO

GRANTEE                        OWNER                          TABLE_NAME                     GRANTOR                PRIVILEGE                                GRA HIE
------------------------------ ------------------------------ ------------------------------ ------------------------------ ---------------------------------------- --- ---
SYSTEM                         SYS                            INCVID                         SYS                    ALTER                                    NO  NO
EXP_FULL_DATABASE              SYS                            INCFIL                         SYS                    UPDATE                                   NO  NO
EXP_FULL_DATABASE              SYS                            INCFIL                         SYS                    INSERT                                   NO  NO
EXP_FULL_DATABASE              SYS                            INCFIL                         SYS                    DELETE                                   NO  NO
SYSTEM                         SYS                            INCFIL                         SYS                    FLASHBACK                                NO  NO

49 rows selected.

SQL>

 
Related examples in the same category
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.