Skip to Main Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced content levelIntermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

defcallinfo.sql

---------------------------------------------------------------------------
-- Filename:    defcallinfo.sql
-- Purpose:     Lists information about deferred calls.
-- Author:      Chas. Dye (cdye@excitecorp.com)
-- Date:        10-Jul-1998
---------------------------------------------------------------------------
set serveroutput on size 100000
set verify off
undef callno
undef argcnt
undef tran_db
undef tran_id

DECLARE
        vTypes  dbms_defer_query.type_ary;
        vVals   dbms_defer_query.val_ary;
        indx    NUMBER;
BEGIN
        dbms_defer_query.get_call_args(
                callno          => '&&callno',
                startarg        => 1,
                argcnt          => &&argcnt,
                argsize         => 128,
                tran_db         => '&&tran_db',
                tran_id         => '&&tran_id',
                date_fmt        => 'DD-Mon-YYYY HH24:MI:SS',
                types           => vTypes,
                vals            => vVals );

        FOR indx IN 1..&&argcnt LOOP
             dbms_output.put_line('Arg '|| indx || ' Value '|| vVals(indx));
        END LOOP;
END;
/
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu
Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata