NOLOCK vs. Transaction Isolation Level

后端 未结 4 1664
南旧
南旧 2020-12-09 16:44

What\'s the difference between using \"SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED\" and NOLOCK? Is one better than the other?

4条回答
  •  时光说笑
    2020-12-09 17:21

    They're the same thing, just scoped differently. NOLOCK is placed on a per table basis and SET Transaction... can be placed as a block.

提交回复
热议问题