48
Views
5
Comments
How to find current transaction isolation level in sql server?
Question

Hi team,

I want to know how do I find current database's transaction level on my SQL Server ? 

Which table should I query to get this?

2024-08-22 11-39-17
Pedro Sousa

Hello @Sneha Kumari 

"When using SQL Server, Azure SQL, and MySQL databases you're working at Read Uncommitted isolation level. You have multiple transactions per web request: one for writes, one for each read. "

Refer to following documentation:

https://success.outsystems.com/documentation/11/reference/outsystems_language/data/database_reference/handling_transactions/


Regards,

Pedro.

UserImage.jpg
Sneha Kumari

If i have changed the isolation level to read committed, is there a way to check is the isolation level was changed to read committed? 

2019-01-07 16-04-16
Siya
 
MVP

To find the current transaction isolation level for your session in SQL Server, you do not query a table directly but rather use a specific function or command.

DBCC USEROPTIONS is a command that returns a number of set options for the current session, including the transaction isolation level. You can run this command in your SQL Server Management Studio (SSMS) 

UserImage.jpg
Sneha Kumari

Hi @Siya ,

I don't have any idea on "SQL Server Management Studio (SSMS) ". Can you tell me how to access this ?

2019-01-07 16-04-16
Siya
 
MVP

SQL Server Management Studio (SSMS) is a tool for managing your SQL Server database and running queries in one place. For further assistance, you can contact the administrator managing the OutSystems Platform Server .

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.