Minimum transaction isolation level to avoid “Lost Updates”

后端 未结 6 944
攒了一身酷
攒了一身酷 2020-12-30 02:57

With SQL Server\'s transaction isolation levels, you can avoid certain unwanted concurrency issues, like dirty reads and so forth.

The one I\'m interested in right n

6条回答
  •  执念已碎
    2020-12-30 03:37

    Lost updates may occur even if reads and writes are in separate transactions, like when users read data into Web pages, then update. In such cases no isolation level can protect you, especially when connections are reused from a connection pool. We should use other approaches, such as rowversion. Here is my canned answer.

提交回复
热议问题