Results 1 to 3 of 3

Thread: Trigger Execution Order

  1. #1
    Contributing Member
    Join Date
    Mar 2008
    Answers
    66

    Trigger Execution Order

    I executed Database Trigger execution order example given in HOW TO's for update statement.


    Before update on table and After update on table are executed irrespective of whether update statement updates rows or not?

    What is the use of firing these two triggers eventhough not even a single row effected? When do we use these two triggers?


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Trigger Execution Order

    If there is no update statment then the trigger is not going to fire.


  3. #3
    Junior Member
    Join Date
    Oct 2007
    Answers
    3

    Thumbs up Re: Trigger Execution Order

    Trigger Execution Orders are different according to the Trigger u r using.
    There are two types of Triggers generaly used.
    1. Application Triggers
    2.Database trigger.

    Each type of trigger (say application trigger or Database trigger)having different execution order.Pls leave message which trigger u r using..


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact