Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
I have a table called user with colums like UnitID, FactoryName,MonetaryLimit,Location,City etc

What I wanted to do is

After a user Updates his information I wanted to track which are the columns that are updated by the user. Not the updated row but the exact columns in a particular row which are updated.

I have created an update trigger, but it not giving the exact result . Write query

thanks

Dreen
Posted
Updated 26-Aug-13 1:33am
v2

1 solution

You can use Sql Server Auditing to do the same. Refer the links below:
SQL Server Auditing (Database Engine)[^]
Auditing in SQL Server 2008[^]
An Introduction to SQL Server 2008 Audit[^]
Audits on MS SQL Server 2008[^]


--Amit
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900