デフォルト構成の SQL Server 2005 では、read_committed 分離レベルと read_committed スナップショットがオフになっています。デッドロックが原因でクエリが中止される可能性はありますか? もしそうなら、なぜですか?
分離レベルを反復可能読み取りに上げるとどうなりますか?
msdn のドキュメントによると、どのレベルの分離でも、このような状況が発生する可能性があります。
Transaction T_1 acquires a share lock on row 1.
Transaction T_2 acquires a share lock on row 2.
Transaction T_1 now requests an exclusive lock on row 2 ( because it wants to change it), and is blocked until transaction T_2 finishes and releases the share lock it has on row 2.
Transaction T_2 now requests an exclusive lock on row 1 ( because it wants to change it), and is blocked until transaction T_1 finishes and releases the share lock it has on row 1.