Hi !
Consider a trigger after update
on the table A.
For every update the trigger should update all the records in table B.
Then consider this query:
UPDATE A SET X = Y
Apparently there are many rows updated. After the update the trigger takes place.
Now if the trigger would be using inserted
table, and you would like to update the table B with every single row of the temporary table inserted
, and in MSDN is not recommended to use cursors, how would you do that?
Thank you