dba_ddl_locks : dba_ddl_locks « 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_ddl_locks 
30. 28. 1. dba_ddl_locks
SQL> create or replace procedure p as begin nullend;
  2  /

SQL>
SQL> exec p

PL/SQL procedure successfully completed.

SQL>
SQL> select from dba_ddl_locks;


SESSION_ID OWNER                          NAME                           TYPE                             MODE_HELD MODE_REQU
---------- ------------------------------ ------------------------------ ---------------------------------------- --------- ---------
        20 JAVA2S                         NAMED_BLOCK                    Table/Procedure/Type                 Null          None
        20 SYS                            DICTIONARY_OBJ_OWNER           Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_STANDARD                  Table/Procedure/Type                 Null          None
        20 XDB                            DBMS_XDBZ0                     Body                                 Null          None
        20 JAVA2S                         P_SPLIT                        Table/Procedure/Type                 Null          None
        20 JAVA2S                         P                              Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_SYS_SQL                   Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_OUTPUT                    Body                                 Null          None
        20 JAVA2S                         UPDATE_EMP                     Table/Procedure/Type                 Null          None
        20 SYS                            PLITBLM                        Table/Procedure/Type                 Null          None
        20 JAVA2S                         CHANGEPRICE                    Table/Procedure/Type                 Null          None
        20 SYS                            DICTIONARY_OBJ_TYPE            Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_UTILITY                   Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_WARNING                   Table/Procedure/Type                 Null          None
        20 JAVA2S                         AUTHORS_SEL                    Table/Procedure/Type                 Null          None
        20 JAVA2S                         COMPUTE_DISCOUNTS              Table/Procedure/Type                 Null          None
        20 SYS                            DATABASE                       18                                   Null          None
        20 SYS                            DBMS_SQL                       Body                                 Null          None
        20 SYS                            DBMS_OUTPUT                    Table/Procedure/Type                 Null          None
        20 JAVA2S                         AUTHOR_SEL                     Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_APPLICATION_INFO          Table/Procedure/Type                 Null          None
        20 SYS                            STANDARD                       Body                                 Null          None
        20 SYS                            AW_DROP_PROC                   Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_WARNING                   Body                                 Null          None
        20 JAVA2S                         P_HELLOTO                      Table/Procedure/Type                 Null          None
        20 JAVA2S                         MEASURE_USAGE                  Table/Procedure/Type                 Null          None
        20 JAVA2S                         JAVA2S                         18                                   Null          None
        20 SYS                            DBMS_SQL                       Table/Procedure/Type                 Null          None
        20 JAVA2S                         MY_FIRST_PROC                  Table/Procedure/Type                 Null          None
        20 JAVA2S                         TEST_TIME                      Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_ROWID                     Table/Procedure/Type                 Null          None
        20 JAVA2S                         P_HELLO                        Table/Procedure/Type                 Null          None
        20 XDB                            DBMS_XDBZ0                     Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_UTILITY                   Body                                 Null          None
        20 JAVA2S                         EMP_CHANGE_S                   Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_APPLICATION_INFO          Body                                 Null          None
        20 SYS                            DICTIONARY_OBJ_NAME            Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_ROWID                     Body                                 Null          None
        20 JAVA2S                         BIND_TEST                      Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_SPACE                     Body                                 Null          None
        20 JAVA2S                         EMPLOYEE_COUNT                 Table/Procedure/Type                 Null          None
        40 SYS                            AQ$_ALERT_QT_E                 10                                   Null          None
        40 SYS                            DBMS_HA_ALERTS_PRVT            Body                                 Null          None
        40 SYS                            DBMS_RCVMAN                    Table/Procedure/Type                 Null          None
        40 SYS                            DBMS_PRVT_TRACE                Table/Procedure/Type                 Null          None
        40 SYS                            PLITBLM                        Table/Procedure/Type                 Null          None
        40 SYS                            PLITBLM                        Table/Procedure/Type                 Null          None
        40 SYS                            DBMS_HA_ALERTS_PRVT            Table/Procedure/Type                 Null          None
        40 SYS                            DBMS_PRVT_TRACE                Body                                 Null          None
        40 SYS                            DBMS_APPLICATION_INFO          Table/Procedure/Type                 Null          None
        40 SYS                            STANDARD                       Body                                 Null          None
        40 SYS                            ALERT_QUE                      10                                   Null          None
        40 SYS                            DBMS_APPLICATION_INFO          Body                                 Null          None
        40 SYS                            DBMS_BACKUP_RESTORE            Body                                 Null          None
        40 SYS                            ALERT_QUE_R                    23                                   Null          None
        40 SYS                            DBMS_BACKUP_RESTORE            Table/Procedure/Type                 Null          None
        40 SYS                            DBMS_RCVMAN                    Body                                 Null          None
        41 SYS                            SCHEDULER$_INSTANCE_S          Table/Procedure/Type                 Null          None

58 rows selected.

SQL> alter procedure p compile;

SP2-0805: Procedure altered with compilation warnings

SQL>
SQL> select from dba_ddl_locks;


SESSION_ID OWNER                          NAME                           TYPE                             MODE_HELD MODE_REQU
---------- ------------------------------ ------------------------------ ---------------------------------------- --------- ---------
        20 JAVA2S                         NAMED_BLOCK                    Table/Procedure/Type                 Null          None
        20 SYS                            DICTIONARY_OBJ_OWNER           Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_SYS_SQL                   Body                                 Null          None
        20 XDB                            DBMS_XDBZ0                     Body                                 Null          None
        20 SYS                            DBMS_SYS_SQL                   Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_OUTPUT                    Body                                 Null          None
        20 JAVA2S                         UPDATE_EMP                     Table/Procedure/Type                 Null          None
        20 SYS                            PLITBLM                        Table/Procedure/Type                 Null          None
        20 JAVA2S                         CHANGEPRICE                    Table/Procedure/Type                 Null          None
        20 SYS                            DICTIONARY_OBJ_TYPE            Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_UTILITY                   Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_WARNING                   Table/Procedure/Type                 Null          None
        20 JAVA2S                         AUTHORS_SEL                    Table/Procedure/Type                 Null          None
        20 JAVA2S                         COMPUTE_DISCOUNTS              Table/Procedure/Type                 Null          None
        20 SYS                            DATABASE                       18                                   Null          None
        20 SYS                            DBMS_SQL                       Body                                 Null          None
        20 SYS                            DBMS_OUTPUT                    Table/Procedure/Type                 Null          None
        20 JAVA2S                         AUTHOR_SEL                     Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_APPLICATION_INFO          Table/Procedure/Type                 Null          None
        20 SYS                            STANDARD                       Body                                 Null          None
        20 SYS                            AW_DROP_PROC                   Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_WARNING                   Body                                 Null          None
        20 JAVA2S                         P_HELLOTO                      Table/Procedure/Type                 Null          None
        20 JAVA2S                         MEASURE_USAGE                  Table/Procedure/Type                 Null          None
        20 JAVA2S                         JAVA2S                         18                                   Null          None
        20 SYS                            DBMS_SQL                       Table/Procedure/Type                 Null          None
        20 JAVA2S                         MY_FIRST_PROC                  Table/Procedure/Type                 Null          None
        20 JAVA2S                         TEST_TIME                      Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_ROWID                     Table/Procedure/Type                 Null          None
        20 JAVA2S                         P_HELLO                        Table/Procedure/Type                 Null          None
        20 XDB                            DBMS_XDBZ0                     Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_UTILITY                   Body                                 Null          None
        20 JAVA2S                         EMP_CHANGE_S                   Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_SPACE                     Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_APPLICATION_INFO          Body                                 Null          None
        20 SYS                            DICTIONARY_OBJ_NAME            Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_ROWID                     Body                                 Null          None
        20 JAVA2S                         BIND_TEST                      Table/Procedure/Type                 Null          None
        20 SYS                            DBMS_SPACE                     Body                                 Null          None
        20 JAVA2S                         EMPLOYEE_COUNT                 Table/Procedure/Type                 Null          None
        40 SYS                            AQ$_ALERT_QT_E                 10                                   Null          None
        40 SYS                            DBMS_HA_ALERTS_PRVT            Body                                 Null          None
        40 SYS                            DBMS_RCVMAN                    Table/Procedure/Type                 Null          None
        40 SYS                            DBMS_PRVT_TRACE                Table/Procedure/Type                 Null          None
        40 SYS                            PLITBLM                        Table/Procedure/Type                 Null          None
        40 SYS                            PLITBLM                        Table/Procedure/Type                 Null          None
        40 SYS                            DBMS_HA_ALERTS_PRVT            Table/Procedure/Type                 Null          None
        40 SYS                            DBMS_PRVT_TRACE                Body                                 Null          None
        40 SYS                            DBMS_APPLICATION_INFO          Table/Procedure/Type                 Null          None
        40 SYS                            STANDARD                       Body                                 Null          None
        40 SYS                            ALERT_QUE                      10                                   Null          None
        40 SYS                            DBMS_APPLICATION_INFO          Body                                 Null          None
        40 SYS                            DBMS_BACKUP_RESTORE            Body                                 Null          None
        40 SYS                            ALERT_QUE_R                    23                                   Null          None
        40 SYS                            DBMS_BACKUP_RESTORE            Table/Procedure/Type                 Null          None
        40 SYS                            DBMS_RCVMAN                    Body                                 Null          None
        41 SYS                            SCHEDULER$_INSTANCE_S          Table/Procedure/Type                 Null          None

57 rows selected.
30. 28. dba_ddl_locks
30. 28. 1. dba_ddl_locks
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.