0

I have an application that needs to act whenever there is an insertion by other clients on the sql server database.How can I notify the change and retrieve them ? Any help is appreciated.

Ali Yılmaz
  • 93
  • 3
  • 12

1 Answers1

0

This question already discusses about how can you be notified about SQL changes using SqlDependency class. However, it is not just unicorns and rainbows, so you should also read these resource before pursuing this path:

1) Consider polling - check this question

2) Read the limitations - check here to see that there are lots of limitations

3) Caching using SqlCacheDependency, if you are using ASP.NET

Community
  • 1
  • 1
Alexei - check Codidact
  • 22,016
  • 16
  • 145
  • 164