nmiller61
asked on
SQLDepenency - Find out what changed or was inserted
I have been working with SQLDependency to address a business rule problem. One of my last problems I am encountering is, "How can I see what record got added or updated from using SQLDependency?"
I have an example MVC Project using SingalR to automatically refresh a page but not sure how to see just the changed data.
I have an example MVC Project using SingalR to automatically refresh a page but not sure how to see just the changed data.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
That change event is telling you to reload the page (essentially), it is not saying that the third column has been updated from 3 to 4
Does that make sense ?
If you want to keep track of specific changes, you might need to look at CDC : https://docs.microsoft.com/en-us/sql/relational-databases/track-changes/about-change-data-capture-sql-server but, what you have with SQL Dependancy (from your last question) should suit your purposes....