Click here to Skip to main content
15,906,626 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want see date and time and users that modified data in sql server
I used cdc (Change Data Capture) to trace deleted and updated data in my table. now I whant know when this change is happened and who change data? (user that login in my application)
Posted

1 solution

I don't think you can do that using CDC - you will need to use Triggers or the Audit capability.

Based on this suggestion[^] logged with Microsoft.

Article on methods for auditing SQL Server[^]
 
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