如:select * from [Order] (nolock) where id in (12345,23456,34567)
select * from [Order] with nolock where id in (12345,23456,34567)
nolock能使当前会话的查询,不受其它会话的事务所阻塞。
如:select * from [Order] (nolock) where id in (12345,23456,34567)
select * from [Order] with nolock where id in (12345,23456,34567)
nolock能使当前会话的查询,不受其它会话的事务所阻塞。