Oracle Built−in Packages- P147 docx

Oracle Built−in Packages- P6 docx

Oracle Built−in Packages- P6 docx

... 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

5 406 1
Oracle Built−in Packages- P14 docx

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

5 260 0
Oracle Built−in Packages- P17 docx

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

5 260 0
Oracle Built−in Packages- P24 docx

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

5 235 0
Oracle Built−in Packages- P34 docx

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

5 237 0
Oracle Built−in Packages- P39 docx

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

5 222 0
Oracle Built−in Packages- P43 docx

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

5 254 0
Oracle Built−in Packages- P47 docx

Oracle Built−in Packages- P47 docx

... DBMS_TRANSACTION The DBMS_TRANSACTION package is created when the Oracle database is installed. The dbmsutil.sql script (found in the built−in packages source code directory, as described in Chapter ... synonym DBMS_TRANSACTION for the package and grants EXECUTE privilege on the package to public. All Oracle users can reference and make use of this package. 4.2.1.1 DBMS_TRANSACTION prog...

Ngày tải lên: 07/07/2014, 00:20

5 252 0
Oracle Built−in Packages- P60 docx

Oracle Built−in Packages- P60 docx

... more specialized queue table and queues. Oracle also provides a set of examples scripts for AQ. In Oracle 8.0.3, the following files were located in $ORACLE_ HOME/rdbms80/admin/aq/demo: aqdemo00.sql The ... Chapter 5 Oracle Advanced Queuing 5.7 Oracle AQ Examples This section offers numerous examples of using AQ, including packages ... trace files generated by the job queue processes...

Ngày tải lên: 07/07/2014, 00:20

5 315 0
Oracle Built−in Packages- P69 docx

Oracle Built−in Packages- P69 docx

... and frustration was not good for me. I needed to move past this nonconstructive lashing out at Oracle. I needed, in short, to fix my problem. So I did −− with a package of my own. I am not going ... package, but you can read about it (there are actually two of them) in my other books as follows: Oracle PL/SQL Programming The Companion Disk section on "Package Examples" introduces...

Ngày tải lên: 07/07/2014, 00:20

5 255 0
Oracle Built−in Packages- P73 docx

Oracle Built−in Packages- P73 docx

... END; END; / Notice that when I call INSTR I pass −1 for the third argument. This negative value tells the built−in to scan from the end of string backwards to the first occurrence of the specified character. 6.2.6.4 ... anyone else out there in the PL/SQL world finds UTL_FILE as frustrating as I do. I am happy that Oracle built the package, but I sure wish they'd given us more to wor...

Ngày tải lên: 07/07/2014, 00:20

5 250 0
Oracle Built−in Packages- P78 docx

Oracle Built−in Packages- P78 docx

... V$SESSION_LONGOPS virtual table. While there are no restrictions on values stored in these columns, Oracle makes the following suggestions as a way of organizing information about the progress of

Ngày tải lên: 07/07/2014, 00:20

5 217 0
Oracle Built−in Packages- P85 docx

Oracle Built−in Packages- P85 docx

... locator, which has been selected FOR UPDATE. LOB locators and DBMS_LOB allow changes to LOB columns in Oracle tables without issuing INSERT or UPDATE statements. If you want to take this approach, you

Ngày tải lên: 07/07/2014, 00:20

5 255 0
Oracle Built−in Packages- P101 docx

Oracle Built−in Packages- P101 docx

... 96 MLSLABEL 106 CLOB 112 NCLOB 112 BLOB 113 BFILE 114 Object type (Oracle8 ) 121 Nested table type (Oracle8 ) 122 Variable array (Oracle8 ) 123 Record type 250 [Appendix A] What's on the Companion ... with DBMS_DESCRIBE The DBMS_DESCRIBE package is created when the Oracle database is installed. The dbmsdesc.sql script (found in the built−in packages source code directory, as describe...

Ngày tải lên: 07/07/2014, 00:20

5 227 0
Oracle Built−in Packages- P147 docx

Oracle Built−in Packages- P147 docx

... DEFINE_PRIORITY_GROUP procedure creates a new priority group. The specifications differ for Oracle7 and Oracle8 as follows. Here is the Oracle7 specification: PROCEDURE DBMS_REPCAT.DEFINE_PRIORITY_GROUP (gname ... INTEGER := NULL, comment IN VARCHAR2 := NULL, sname IN VARCHAR2 := ''); Here is the Oracle8 specification: PROCEDURE DBMS_REPCAT.DEFINE_PRIORITY_GROUP (gname IN VA...

Ngày tải lên: 07/07/2014, 00:20

5 247 0
Từ khóa:
w