Can an Oracle trigger be disabled for the current session?

前端 未结 4 1133
日久生厌
日久生厌 2021-02-19 16:28

I\'d like to disable a specific trigger on a table prior to inserting data into it, but without affecting other users that may be changing data in that same tab

4条回答
  •  悲&欢浪女
    2021-02-19 17:12

    Maybe Oracle Editions are useful for this purpose? Create a different trigger in another edition and change the session to use that edition.

    http://www.oracle-base.com/articles/11g/edition-based-redefinition-11gr2.php#editions

    I must confess that I have no practical experience with editions.

提交回复
热议问题