How can I infer that a particular row in a table has been modified, how to find the set of columns I prefer is been modified.
eg:
CREATE TABLE #TEMP
(
RollID INT,
Name NVARCHAR(100),
Class NVARCHAR(100),
age INT,
Address NVARCHAR(200)
)
In this case I’m interested to note whether the (Name,Class) has been modified
Change Tracking is a feature in SQL Server 2008 that might be useful to you for implementing this. I’m not sure it works against temporary tables as you have in your example, however. If you are using permanent tables this is a powerful and useful solution.