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 -> others ways to write this trigger ?

others ways to write this trigger ?

From: Fred Burlaud <fburlaud_at_com6.fr>
Date: Wed, 29 May 2002 18:50:30 +0200
Message-ID: <3CF506D6.58AA0AF@com6.fr>


Hello,
I need to parse this trigger code with an API function that doesn't support the : caracter

create or replace trigger trig_galapia
before insert on galapia
for each row
begin

   if :new.<primary_key_field> is null then

      select seq_x.nextval into :new.<primary_key_field> from dual;    end if;
end;

could you help me to rewrite this trigger without : Is it possible ?

thanks
Fred Received on Wed May 29 2002 - 11:50:30 CDT

Original text of this message

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