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.
            Asked
            
        
        
            Active
            
        
            Viewed 5,429 times
        
    0
            
            
        - 
                    3Possible duplicate of http://stackoverflow.com/questions/5288434/how-to-monitor-sql-server-table-changes-by-using-c – Alexei - check Codidact Jan 03 '17 at 07:18
 
1 Answers
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