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!

Two triggers in the same table and event

Saad NayefFeb 12 2008 — edited Feb 16 2008
If I created two triggers on the same table and event (before insert), which of them will be triggered first ?...

The problem from the beginning is that I created the second one as after insert and in the body of the trigger I wrote (:new.xxx:= value) ... then an error (that it should be before insert trigger or update trigger), so I created it as before update ,,, but I have already before update trigger (for primary key)..... and the problem -I think- which of them start first...

Can make the second one as after insert and make update statement instead of assigning (:new.xxx:= value).....

Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 15 2008
Added on Feb 12 2008
5 comments
3,292 views