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: Triggers problem

Re: Triggers problem

From: Jeremy Ovenden <jovenden_at_hazelweb.co.uk>
Date: Fri, 23 Oct 1998 18:52:53 +0100
Message-ID: <70qflh$s9g$1@newnews.global.net.uk>


try >

:new.OH_FLAG:=1;

                      ^

Bill West wrote in message <702pr0$28c_at_rosebud.sdsc.edu>...
>Tried this code but still getting compilation errors
>
>CREATE OR REPLACE TRIGGER SET_OH_FLAG BEFORE INSERT ON INDEX_FUND_XREF
>FOR EACH ROW
>WHEN (new.FUND LIKE '62100%')
>BEGIN
>:new.OH_FLAG=1;
>END;
>
>Other considerations:
>
>1. I own this table
>2. The FUND is a char datatype
>3. the OH_FLAG is a number with a size of 1 and precision of 0
>
>Bill West
>SDSC
>
>
>
>
>
Received on Fri Oct 23 1998 - 12:52:53 CDT

Original text of this message

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