update table set a='xxx' where b='yyyy'
可以修改為:
update table with(rowlock) set a='xxx' where b='yyyy' --行锁定
update table with(pagelock) set a='xxx' where b='yyyy' --页锁定
update table with(tablelock) set a='xxx' where b='yyyy' --表锁定
转载于:https://www.cnblogs.com/1122Qi/p/3671311.html