Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I know there are lot of questions that might be similar to this, But I am confused a bit.

My only question is, I want to track database to know what is changed and get the details of the changed record, And then insert this chaged row into another table. Is this possible with SQL Dependency in .NET?

We are using SQL Server 2012. Your help will be greately appreciated. Thanks
Posted

1 solution

AFAIK, using TRIGGERS you can create referencing entities and thus use SQL dependency to track the changes.
A quick overview of SQL dependency here: MSDN: Understanding SQL Dependencies[^]
 
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