Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Triggers problem
On Wed, 14 Oct 1998 11:17:01 -0700, "Bill West" <wwest_at_ucsd.edu>
wrote:
>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;
Replace
:new.OH_FLAG=1;
with
:new.OH_FLAG := 1;
>Bill West
>SDSC
HTH,
Jurij Modic <jmodic_at_src.si>
Certified Oracle7 DBA (OCP)
![]() |
![]() |