Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Deferring Triggers?

817002Nov 20 2010 — edited Nov 21 2010
Hello 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
This post has been answered by Solomon Yakobson on Nov 20 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2010
Added on Nov 20 2010
5 comments
1,779 views