Oracle Built−in Packages- P116 doc
... Exceptions The UNKEEP procedure does not raise any package exceptions. It can raise the following Oracle exceptions if the name parameter does not resolve to a real object or an object of the proper ... numeric or value error. 12.2.2.2.2 Restrictions Note the following restrictions on calling UNKEEP: • Oracle warns that the UNKEEP procedure may not be supported in future releases. • The...
Ngày tải lên: 07/07/2014, 00:20
... to a specific Oracle error number using the PRAGMA EXCEPTION_INIT statement. The packaged program issues a RAISE statement. Returns the Oracle error number. Returns the standard Oracle error message ... statement. Returns the Oracle error number. Returns the standard Oracle error message text. You can handle it [Appendix A] What's on the Companion Disk? 1.3.4 Exception Handling...
Ngày tải lên: 07/07/2014, 00:20
... exceptions, nor does it give names to existing Oracle error numbers. Instead, a program in the package simply raises one of the errors defined in the Oracle documentation. You can then handle this exception ... Handling and Built−in Packages 22 /* SQLERRM returns the standard Oracle error message */ NOTE: You will not be able to write a statement like WHEN DBMS_DEFER.UPDATECONFLICT i...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P14 docx
... variable. <datatype> may be any of the following: BFILE BLOB CLOB CHARACTER SET ANY_CS DATE MLSLABEL /*Trusted Oracle only*/ NUMBER VARCHAR2 CHARACTER SET ANY_CS_ARRAY Here is an example of binding the current ... (the_cursor, 'call_type', :call.call_status); where the two bind values are items in an Oracle Forms screen. Since BIND_VARIABLE is overloaded, I can call it wit...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P17 docx
... nextbook; CREATE TABLE nextbook (title VARCHAR2(100), text LONG); INSERT INTO nextbook VALUES (&apos ;Oracle PL/SQL Quick Reference', RPAD ('INSTR ', 256, 'blah1 ') || RPAD ... VARCHAR2, col IN VARCHAR2, whr IN VARCHAR2 := NULL, pieces IN OUT DBMS_SQL.VARCHAR2S) /* Requires Oracle 7.3 or above */ IS cur PLS_INTEGER := DBMS_SQL.OPEN_CURSOR; fdbk PLS_INTEG...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P24 docx
... string! Notice how I have shifted from dealing with the low−level details of the DESCRIBE_COLUMNS built−in to manipulating all that data through a clear, easy−to−use API. It is not as though the
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P27 doc
... of rows −− but the index−by table I fill up depends on the &2 or second argument: the Oracle7 or Oracle8 versions. Once the tables have their data, I pass them to the appropriate version ... of index−by tables (called PL /SQL tables in Oracle7 ). These structures are like single−dimension arrays and are described in detail in Chapter 10 of Oracle PL /SQL Programming. With this featur...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P34 docx
... NLS characters. • Pipenames must not begin with "ORA$", as these names are reserved for use by Oracle Corporation. 3.1.5.1.3 Example This example shows the use of SEND_MESSAGE to send a message ... Interrupted 3.1.5.2.1 Exceptions The program does not raise any package exceptions. The following Oracle exceptions are raised if the user attempts to receive a message on a pipe bel...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P39 docx
... Started with DBMS_ALERT The DBMS_ALERT package is created when the Oracle database is installed. The dbmsalrt.sql script (found in the built−in packages source code directory, as described in Chapter ... which is normally run immediately after database creation. Under Oracle7 , no privileges are automatically granted on DBMS_ALERT. Under Oracle8 , the EXECUTE_CATALOG_ROLE role is grante...
Ngày tải lên: 07/07/2014, 00:20
Oracle Built−in Packages- P43 docx
... resources. The Oracle database manages concurrent, multiuser contention for data using sophisticated locking mechanisms. This chapter describes two packages that provide interfaces to the Oracle lock ... Started with DBMS_LOCK The DBMS_LOCK package is created when the Oracle database is installed. The dbmslock.sql script (found in the built−in packages source code directory, as descri...
Ngày tải lên: 07/07/2014, 00:20