Some kind of row versions in triggers?

I have created an After Update trigger. I can get modified row from the Inserted table, but is there any way to get the "original" row I mean I'd like to compare two rows to get what exactly was changed.




Answer this question

Some kind of row versions in triggers?

  • Pachacutec

    The deleted virtual table will give the before image of the rows that were modified. See Books Online CREATE TRIGGER topic for more details.

  • Martin Platt

    Thank you!

  • Some kind of row versions in triggers?