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 -> Re: Trigger created with compilation errors

Re: Trigger created with compilation errors

From: Karsten Farell <kfarrell_at_medimpact.com>
Date: Thu, 03 Oct 2002 16:27:11 GMT
Message-ID: <zd_m9.84$AA7.16120996@newssvr13.news.prodigy.com>


iim wrote:
> what is the problem ??
>
> Trigger created with compilation errors
>
>
> create trigger test
> after insert on test
> for each row
> begin
> end;
>
> why this can cause a warning error.
>

The trigger needs something to do ... even if it's nothing. This will compile, but do nothing:

create trigger test
after insert on test
for each row
begin

   null;
end; Received on Thu Oct 03 2002 - 11:27:11 CDT

Original text of this message

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