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: Delete trigger does not fire

Re: Delete trigger does not fire

From: Mohnish <merchantm2001_at_yahoo.com>
Date: 5 Oct 2001 08:31:29 -0700
Message-ID: <8eb7d777.0110050731.644e55da@posting.google.com>


Thank You for your help Neil and Spencer. I have implemented what you suggested and the problem also has resolved by by changing some system settings.

"Neil" <neil_at_nospam.com> wrote in message news:<sgKu7.30044$qi.3890053_at_news2-win.server.ntlworld.com>...
> Mohnish
>
> > CREATE OR REPLACE TRIGGER "WWW".TRIGELEC_HIS_INSERT BEFORE
> > INSERT ON "WWW"."TBLELEC" REFERENCING OLD AS o NEW AS n
> > FOR EACH ROW
> > WHEN (n.ELEC_HIS_ID = 0 OR n.ELEC_HIS_ID = NULL)
>
> Should be:
> WHEN (n.ELEC_HIS_ID = 0 OR n.ELEC_HIS_ID IS NULL)
>
> X = NULL is always false
>
> Neil
Received on Fri Oct 05 2001 - 10:31:29 CDT

Original text of this message

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