主题。
查看死锁图和下面的语句。为什么会这样?
declare @SomeValue bigint = 12345
select <SOME FIELDS>
from [HealthEvent].[StateMachineInstanceEventTypeQueue] nolock
where SomeField = @SomeValue
order by id desc
该表在 SomeField 上没有索引
查看死锁图:http: //i58.tinypic.com/rbfmex.jpg