Deadlock issue in SQL Server
I have 2 teams working in my project, one is extracting data from Table Customer & Products and the other team is trying to view the data from those tables. Both of them开发者_如何学运维 are performing the operation simultaneously. This is causing a deadlock. How do I solve the issue?
Use Read Committed Snapshot isolation if you are using SQL Server 2005 and above. This way your readers would not block writers.
精彩评论