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

Home -> Community -> Usenet -> c.d.o.misc -> Using :new and :old as parameters to Stored Proc

Using :new and :old as parameters to Stored Proc

From: Øyvind Pedersen <oyvindpe_at_online.no>
Date: Tue, 23 Mar 1999 15:25:59 GMT
Message-ID: <01be7541$74335dc0$0e1c6e0a@8902BXL20922.ac.com>


Hi all,

I have a stored procedure on the form

        StoredProc(MyVar IN MyTable%ROWTYPE)
and want to call it from a trigger on the table MyTable using the trigger variables :new or :old as:

StoredProc(:new);

This seems not to be allowed, however, since :new isn't a variable of the specified rowtype (I get PLS-00049: Bad bind variable). Is there any way at all to accomplish what I want to do?

Regards,
Øyvind. Received on Tue Mar 23 1999 - 09:25:59 CST

Original text of this message

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