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

Re: Database Triggers

From: DStevens <dstevens_at_navidec.com>
Date: Mon, 14 Jan 2002 13:59:13 -0700
Message-ID: <a1vgr1$2gv$2@newsreader.mailgate.org>


Set up a package variable (probably a boolean). Something like (syntax might not be exactly correct): create or replace package mypkg is
doing_batch_update boolean;
end;
/

Then, in your batch update:
mypkg.doing_batch_update := True;

Then, in your trigger:
If mypkg.doing_batch_update = FALSE or mypkg.doing_batch_update is null THEN
--- do trigger stuff
end if;

>
Received on Mon Jan 14 2002 - 14:59:13 CST

Original text of this message

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