我想真正的问题是:
如果我不关心脏读,将添加with(NOLOCK)提示到SELECT语句会影响性能:
例:
Select * from aTable with (NOLOCK)
sql sql-server locking
locking ×1
sql ×1
sql-server ×1