Prepare for your Next Interview
This is a discussion on Which trigger will fires first? within the SQL forums, part of the Databases category; If i have created triggers of same structure i.e both are on the same table, same event and same timing. Then which one will fires first? NOTE: [This question ...
|
|||
|
Which trigger will fires first?
If i have created triggers of same structure i.e both are on the same table, same event and same timing. Then which one will fires first?
NOTE: [This question was asked by vishalkumar] |
| The Following 2 Users Say Thank You to JobHelper For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Which trigger will fires first?
In Oracle it is undefined. Any one of the triggers will fire first. It is better to merge them as a single trigger if there is any dependency in the order of execution.
__________________
Cheers, :) James:) |
| The Following User Says Thank You to jamesravid For This Useful Post: | ||
|
|||
|
Re: Which trigger will fires first?
agree with james...
You can create multiple triggers of the same type (BEFORE, AFTER, INSTEAD OF) for the same triggering event. The order of execution among the triggers is indeterminate. |