SQL SERVER中如何解除死锁?
今天运行程序,因为其中涉及存储过程和大量的数据更新,第一次遇到了数据库死锁的情况。
报错信息如下:
Transaction (Process ID 56) was deadlocked on {lock} resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
如果解除死锁?我从没遇到过,查看了资料,很简单
kill ID
本次就是 KILL 56
报错信息如下:
Transaction (Process ID 56) was deadlocked on {lock} resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
如果解除死锁?我从没遇到过,查看了资料,很简单
kill ID
本次就是 KILL 56
posted on 2007-05-24 14:23 littlebamboo 阅读(1487) 评论(3) 编辑 收藏 举报