Deferring Triggers?
817002Nov 20 2010 — edited Nov 21 2010Hello Oracle Community !
I got into an argument with my database design teacher after he mentionned in class that a Trigger in OracleSQL can be deferred (or be made deferrable, in the same fashion that constraints can be), but yet couldn't show us the syntax to do so.
Researching the Oracle 10g doc (http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/triggers.htm), I couldn't find any evidence that it was supported and from what I know (as well as reading more into Triggers http://www.orafaq.com/wiki/PL/SQL_FAQ#Can_one_COMMIT.2F_ROLLBACK_from_within_a_trigger.3F), it didn't make sense that they could be deferred.
Now I couldn't find a straight-up definition from SQL:1999 or later that would say Triggers could or couldn't be deferred either.
Can you please advise whether deferring triggers is : a) somehow doable in Oracle SQL; b) part of any version of the SQL standard?
Thanks in advance for your help !
-HAO
Edited by: 813999 on Nov 20, 2010 2:03 PM