Oracle Built−in Packages- P78 docx

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