SQL Server - Dirty Reads Pros & Cons

前端 未结 4 1268
慢半拍i
慢半拍i 2020-12-11 03:21

Why should I or shouldn\'t I use dirty reads:

set transaction isolation level read uncommitted

in SQL Server?

4条回答
  •  一向
    一向 (楼主)
    2020-12-11 03:42

    use it if you want the data back right away and it is not that important if it is right
    do not use if if the data is important to be correct or if you are doing updates with it

    Also take a look at snapshot isolation which has been introduced in sql server 2005

提交回复
热议问题