| | |
Help needed with UPDATE Trigger
Please support our MS SQL advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2009
Posts: 3
Reputation:
Solved Threads: 0
Hello! 
I have a small issue with an AFTER UPDATE Triger I implemented on one table of my db. In my trigger, I do some validation and update others (not in inserted or deleted) rows of my table. Thoses rows are updated but are not triggering my trigger (similar to a controlled loop). I'm wondering if there's a way to get them running the same trigger.
I have a situation of child / parent in my rows sometimes. If I'm updating a child, I need the parent to be updated and validated. A child is not very at all and I really needs the parent to be the one who makes the "call".
Is it feasible?
Thanks

I have a small issue with an AFTER UPDATE Triger I implemented on one table of my db. In my trigger, I do some validation and update others (not in inserted or deleted) rows of my table. Thoses rows are updated but are not triggering my trigger (similar to a controlled loop). I'm wondering if there's a way to get them running the same trigger.
I have a situation of child / parent in my rows sometimes. If I'm updating a child, I need the parent to be updated and validated. A child is not very at all and I really needs the parent to be the one who makes the "call".
Is it feasible?
Thanks
Last edited by drynish; Mar 31st, 2009 at 5:17 pm.
•
•
Join Date: Mar 2009
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
Please post the exact case with table structure and trigger code.
I spend a lot time finding that info and honestly it's a normal comportement to eliminate the risk of endless looping.
I hope it's clear for anyone searching for that kind of issue.
The info is here: http://msdn.microsoft.com/en-us/libr...4(SQL.80).aspx
![]() |
Similar Threads
- Error at line number 782 named "ios is not declared"... (C++)
- Vista BlueScreen (Windows Vista and Windows 7)
- more game trouble- need high score system (Java)
- Windows Xp Genuine Authentication (Windows NT / 2000 / XP)
- I need help covert my source code frm pic16c54a to pic16f84a (Assembly)
- Computed column in view VS trigger on update (MS SQL)
Other Threads in the MS SQL Forum
- Previous Thread: Converting datetime to int
- Next Thread: Nested SELECT statements
| Thread Tools | Search this Thread |





