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 -> Database trigger and Procedures, with Oracle 7.3...

Database trigger and Procedures, with Oracle 7.3...

From: flux <flux_at_berlin.snafu.de>
Date: 1997/09/10
Message-ID: <34169F47.383935A8@berlin.snafu.de>#1/1

Hello all,

I have a Question.
Is it right, that Oracle can't match the types of ':new' and 'MyTable%type' in the trigger below ?

The following sample explain my problem. The trigger-compilation fails.

create table MyTable (MyRow number(5));
create or replace package mypackage is
procedure MyProc(TheNew MyTable%type);
end;
/

create or replace trigger MyTrick after insert on MyTable for each row begin
  mypackage.MyProc(:new);
end;
/

 Daniel Received on Wed Sep 10 1997 - 00:00:00 CDT

Original text of this message

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