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

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

RE: How to restrict a trigger from firing when the DML is done re

From: Paulo Gomes <PGomes_at_Datinfor.pt>
Date: Wed, 30 Oct 2002 07:38:45 -0800
Message-ID: <F001.004F7777.20021030073845@fatcity.com>


or maybe u could use v$session to control that

-----Original Message-----
Sent: quarta-feira, 30 de Outubro de 2002 15:09 To: Multiple recipients of list ORACLE-L remotely

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).
--

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

Author: Paulo Gomes
  INET: PGomes_at_Datinfor.pt
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:38:45 CST

Original text of this message

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