Re: oracle 11g: how to disabled triggers per session

From: Mladen Gogala <gogala.mladen_at_gmail.com>
Date: Tue, 4 Feb 2014 16:10:43 +0000 (UTC)
Message-ID: <pan.2014.02.04.16.10.43_at_gmail.com>


On Tue, 04 Feb 2014 07:03:02 -0800, rgrzes1 wrote:

> Hello,
>
> Do You know any trick to disabled all triggers but only per session ?
> I can't use dbms_xstream_gg.set_foo_trigger_session_contxt becouse I
> have Standard Edition.
> I found the /*+ NO_TRIGGER */ hint method, but unfortunatelly it doesn't
> work.
> I won't use method: add any extra line to the begining of all triggers,
> for example to check same context or samething like this... because it
> is a large database.
>
> Regards Robert

There is no such magic. Why would you want to disable triggers in the first place? Triggers are used to enforce business rules. What rules would you want to bypass? Is it legal?

-- 
Mladen Gogala
The Oracle Whisperer
http://mgogala.byethost5.com
Received on Tue Feb 04 2014 - 17:10:43 CET

Original text of this message