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: PL/SQL Triggers

Re: PL/SQL Triggers

From: Ludo Joris <lujo_at_ruca.ua.ac.be>
Date: 1997/05/30
Message-ID: <338ed791.9510428@news.ruca.ua.ac.be>#1/1

rni_at_slv.dk (Roy Nielsen) wrote:

>create or replace trigger mytrigger
>before insert on wintcc.alarm
>
>begin
> select seqmyname.nextval
> into :new.alarmid
> from dual;
>end;
>
>but this doesn't work, my eror msg is that

I think you must add a "for each row" clause to make the trigger fire for a row that gets inserted.

HTH

--
Ludo Joris
RUCA - University of Antwerp, Belgium
lujo_at_ruca.ua.ac.be
Received on Fri May 30 1997 - 00:00:00 CDT

Original text of this message

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