多线程处理sql server2008出现Transaction (Process ID) was deadlocked on lock resources with another process and has been chose问题

多线程处理sql server2008某个表中的数据时,在Update记录的时候出现了【Transaction (Process ID 146) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction】显示的错误是因为处理的表没有设置主键,而更新时是根据主键进行更新的。

上一篇:Netty入门系列(2) --使用Netty解决粘包和拆包问题


下一篇:linux(centos)环境下安装rabbitMq