Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to restrict a trigger from firing when the DML is done re
For advanced replication we have an IF statement to check if the DML came
from a remote source:
IF (DBMS_REPUTIL.FROM_REMOTE = FALSE) -- If the DML is local
Rick Stephenson
Oracle Database Administrator
Ovid Technologies, Inc.
rick_stephenson_at_ovid.com
-----Original Message-----
Sent: Wednesday, October 30, 2002 8:39 AM
To: Multiple recipients of list ORACLE-L
the only way i see it can work is to implement a snapshot in the remote
database and create a trigger there.
regards
Paulo
-----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).
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).
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 - 11:44:47 CST
![]() |
![]() |