Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> How to restrict a trigger from firing when the DML is done remotely

How to restrict a trigger from firing when the DML is done remotely

From: Mandal, Ashoke <ashoke.k.mandal_at_medtronic.com>
Date: Wed, 30 Oct 2002 07:09:05 -0800
Message-ID: <F001.004F7668.20021030070905@fatcity.com>


Greetings All,

We have a before insert trigger on a table. We want this trigger to fire when the data is inserted locally and don't want this trigger to fire when the insert is done from a remote database using database link.

Does any of you have any idea how to achieve this.

Thanks,
Ashoke
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mandal, Ashoke
  INET: ashoke.k.mandal_at_medtronic.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Oct 30 2002 - 09:09:05 CST

Original text of this message

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