... 1. Introduction Contents: The Power of Built−in Packages Built−in Packages Covered in This Book Using Built−in Packages Examining Built−in Package Source Code Ah, for the good old ... 7 of the Oracle Server) and then, most recently, PL /SQL Version 8.0 (to accompany Oracle8 ). In each major version and its sub−releases (2.1, 2.2, 2.3, and, sometime in 1998, 8.1), Oracle has ... −...
Ngày tải lên: 07/07/2014, 00:20
... point Oracle sets aside memory for a cursor data area and then returns a pointer to that area. These pointers are different from the cursors defined by other elements of Oracle, such as the Oracle ... be terminated with a semicolon unless it is a PL/SQL block. language_flag A flag determing how Oracle will handle the statement. Valid options are DBMS_SQL.V6, DBMS_SQL.V7, and DBMS_SQL.N...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P26 pot
... very sad, then, for many of us, when Windows and other GUIs came along, and Oracle Corporation did not keep up. Of course, Oracle Forms has come a long way and is competing well with PowerBuilder ... happy because it has some really neat features, one of which is indirect referencing. Oracle Forms offers two built−ins, the NAME_IN function and the COPY procedure, which allow you to retr...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P29 pot
... programmatic interface to your data. 2.5.6.5 Using array processing in dynamic PL/SQL The first release of Oracle8 (8.0.3) contained a number of bugs relating to the use of array processing in dynamic PL/SQL.
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P33 pot
... unusual looking ROWIDs are the result of running the test on an Oracle8 database. (Remember that ROWID formats have changed in Oracle8 .) [Appendix A] What's on the Companion Disk? 3.1.4 ... unpacked. 3.1.4.4.1 Exceptions The program does not raise any package exceptions. The following Oracle exceptions are raised if the message buffer contains no more items, or if the item paramete...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P37 potx
... many users, so the general usefulness of unpack_to_tbl and pack_from_tbl will have to wait until Oracle fixes these PL/SQL memory management problems. NOTE: The problem caused by unpacking messages ... with more than a few items in them can result in a very large PL/SQL table that has been fixed in Oracle PL/SQL8. 3.1.7.3.2 The peek procedure Developers or DBAs working with and testing DB...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P40 pot
... primarily to users of DBMS_ALERT under Oracle Parallel Server (OPS), since under OPS a polling loop is required to check for alerts issued from another Oracle instance. 3.2.2.5 The DBMS_ALERT.SIGNAL ... and are case−insensitive. • Alert names beginning with "ORA$" are reserved for use by Oracle Corporation. 3.2.2.1.3 Example In this example, the session will be registered to...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P41 pot
... of lower−level built−ins. Both the DBMS_LOCK and DBMS_PIPE packages are used extensively in the implementation of DBMS_ALERT. NOTE: If you have an old Version 7.1 installation of Oracle, you can ... application might actually need to be alerted to changes in data? The classic example given in the Oracle documentation is a continuous graphical display of data extracted from some table. Pull...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P45 potx
... a lockhandle or an integer lock identifier. The test yielded the following results on a Personal Oracle7 database with no other activity: SQL> @l2 Using lockhandles: 9.57 secs Using lockids: ... together a number of best practices for using the DBMS_LOCK package. 4.1.3.1 Named locks or lock ids? Oracle provides two methods of identifying and manipulating user locks: integer lock identif...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P48 pot
... more information on this topic, see "Using Discrete Transactions" in the Oracle Corporation document Oracle8 Server Tuning. 4.2.6 Cleaning Up Transaction Details When performing two−phase ... information on this topic, see "Manually Overriding In−Doubt Transactions" in the Oracle Corporation document Oracle8 Server Distributed Systems. 4.2.6.2 The DBMS_TRANSACTION.PU...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P51 pot
... Multiple consumers of the same message 5.1.6 Components of Oracle AQ Oracle AQ is composed of a number of different elements, not just a single built−in package. These elements follow: The DBMS_AQADM ... agents remove messages from a queue. The same Oracle process can be both a producer and a consumer; more commonly, you will use Oracle AQ to allow multiple Oracle connections to e...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P52 potx
... have been using Oracle AQ in Oracle 8.0.3 and are now upgrading to 8.0.4, check the online Oracle documentation for upgrade steps you must take. 5.2.3 Authorizing Accounts to Use Oracle AQ When ... on the Companion Disk? 5.2.2 Database Initialization 248 Chapter 5 Oracle Advanced Queuing 5.3 Oracle AQ Nonprogram Elements Oracle AQ defines a number of data structures, exceptions,...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P80 pot
... package (new to Oracle8 ) provides a set of procedures and functions to access and manipulate LOBs from within PL/SQL programs. You can also manipulate LOBs from within SQL; refer to the Oracle documentation ... Started with DBMS_LOB The DBMS_LOB package is created when the Oracle8 database is installed. The dbmslob.sql script (found in the built−in packages source directory, as describ...
Ngày tải lên: 07/07/2014, 00:20