Click here to Skip to main content
15,915,509 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In After Update Trigger If their is any Update Statement for a same Table then is Trigger Fires Again
Posted

1 solution

Yes, it will fire the trigger in recursive mode.

I think this is not good idea to write code which will update the pointing table. if you miss any condition checking in trigger then it will be going to recursively firing the trigger and it will goes in infinite loop. so if there is no another way then this then you need to write your trigger in such a way to handle some cases when the trigger is not going to update the same table so it is the only way you stop the after update trigger to stop firing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900