Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Can :OLD, :NEW be passed to a proc as two rows ...

Re: Can :OLD, :NEW be passed to a proc as two rows ...

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Wed, 05 May 2004 10:05:21 -0700
Message-ID: <1083776720.371758@yasure>


Domenic wrote:

> Hi Everyone,
>
> When a trigger is executing, it is possible to fetch all the :OLD and
> :NEW values into two records and pass them along to another procedure
> ... something like ...
>
> CURSOR c1 IS ....
> c1_rec c1%ROWTYPE ...
>
> Can a c1_rec_old and c1_rec_new be defined, opened, fetched into and
> passed to another proc as a one or two liner?
>
> I've searched the PL/SQL manual and found nothing. I don't want to
> duplicate the same code in each trigger
>
> Thanks in advance .../Domenic.

Probably ... but it seems like you are most likely misusing the trigger if that is what you are trying to do.

What is the actual business problem underlying this requrest?

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed May 05 2004 - 12:05:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US