|
If we create an Update Trigger on a particular column, can we get the value which row has updated? How to get which row has updated in the table WisePoints?
(comments are locked)
|
|
If you want to return the updated information, you simply need to access the internal tables of the trigger: Be aware that this will return more than one row if more than one row is manipulated at once - e.g. This will fire the trigger once, returning a result set of all new TotalPoints for the records in the table. Thank You William
Jul 27 '11 at 03:48 AM
Bhuvans
(comments are locked)
|
|
Inside triggers there are available For the AFTER UPDATE trigger the The triggers on MS SQL Server are fired once for all the affected records an you have a set of the affected records available in the virtual tables. Had my answer ready to post and a phone call got in the way
Jul 27 '11 at 02:57 AM
WilliamD
Thank you Pavel
Jul 27 '11 at 03:48 AM
Bhuvans
(comments are locked)
|

