有关DeadLock的文章列表
SET STATISTICS PROFILE ON 显示query的执行过程
Deadlock Troubleshooting Part1
Deadlock Troubleshooting, Part 2
Deadlock Troubleshooting, Part 3
HOLDLOCK 相当于 ISOLATION SERIALIZABLE,在整个事务过程阻塞其他事务的update和delete(仅限同一条数据,不同数据不阻塞),但不阻塞select
How does the lock work in sql server? ——by using the lock hash (%%lockres%%)
Key hash value: