DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: trigger question

  1. #1
    Join Date
    Sep 2001
    Posts
    9
    if there are two triggers on a table, how do you know which one will execute first - considering their triggering events are the same?

  2. #2
    Join Date
    Apr 2001
    Posts
    47
    Hi,

    I am not sure, but for a given event Oracle can look at object_id of each trigger for this event and fire them in asc or desc order of their object_ids.
    I have a doubt that Oracle can fire them randomly.
    Though, I've never read about it in Oracle Doc. If anyone could give the link, it would be nice.

    Regards,

  3. #3
    Join Date
    Sep 2001
    Posts
    9
    hey,

    thanks for the reply dmitriy. you might be right. the other possibility i was thinking of was alphabetically, but that seems to far fetched.

    i'll try asking metalink and see what they have to say.

    thanks again...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width