SELECT FOR UPDATE with SQL Server

后端 未结 18 2243
自闭症患者
自闭症患者 2020-11-27 11:49

I\'m using a Microsoft SQL Server 2005 database with isolation level READ_COMMITTED and READ_COMMITTED_SNAPSHOT=ON.

Now I want to use:

18条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 12:40

    You cannot have snapshot isolation and blocking reads at the same time. The purpose of snapshot isolation is to prevent blocking reads.

提交回复
热议问题