阅读背景:

在SqlServer中处理死锁的最佳方法是什么?

来源:互联网 

I'm getting frequent deadlocks on SqlServer 2008. Currently, I have the following code in my data access layer to deal with it. It basically catches the deadlock and tries to resubmit the command with a new connection. No transactions. But it doesn't seem to work - users still get exceptions and my log shows that most of those exceptions were deadlocks. Can anyone tell what am I doing wrong? Thanks.I'm getting frequent deadlocks on SqlServer 200




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: