Sorry ... Let it loose before I was done ... Here is the syntax to find out what the current isolation level is :
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
GO
DBCC USEROPTIONS
GO
I saw this somewhere, but was confused. Doesn't the command 'SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED' set the isolation level? I was afraid that DBCC USEROPTIONS would just show me what I set in the command before.
Yes it does set the isolation level. It is being used as an example. Once again, the level of isolation is actually customizable for each transaction not for database. So when you set the ISO level for the transaction you are working with, you can view what the ISO level was for that transaction by executing the DBCC command. Sorry for not being clearer on the code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.