What is the default transaction isolation level for SQL Server with ADO.NET?

前端 未结 1 1746
迷失自我
迷失自我 2020-12-01 11:52

What is the default transaction isolation level for SQL Server with ADO.NET? I am using a default installation of SQL Server and just the normal System.Data.SqlClient classe

相关标签:
1条回答
  • 2020-12-01 12:36

    READ COMMITTED is the default isolation level for the Microsoft SQL Server Database Engine.

    Source:

    • Customizing Transaction Isolation Level @ MSDN.

    Here is how it compares to other isolation levels:

    • Transaction Isolation Levels @ MSDN.

    The MSDN documentation for SqlConnection.BeginTransaction() also states Read committed

    ... To reset the isolation level to the default (READ COMMITTED) ...

    • MSDN article
    0 讨论(0)
提交回复
热议问题