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

Re: others ways to write this trigger ?

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 29 May 2002 19:33:28 +0200
Message-ID: <ufaek7b1ihqf0f@corp.supernews.com>

"Fred Burlaud" <fburlaud_at_com6.fr> wrote in message news:3CF506D6.58AA0AF_at_com6.fr...
> Hello,
> I need to parse this trigger code with an API function
> that doesn't support the : caracter
>
> -- My trigger uses a sequence to increment a field (AutoNum):
>
> 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
>

NO

Regards

--
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Wed May 29 2002 - 12:33:28 CDT

Original text of this message

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