chandradineshbabu
asked on
sqlserver 2008 Isolation question
Hi
I am using isolation level at database level as read committed snapshot however i am using no lock hint at statement level.which one will overide first? one more thing is i would like to change read commited snapshot to default isolation at database level.how to do it?
I am using isolation level at database level as read committed snapshot however i am using no lock hint at statement level.which one will overide first? one more thing is i would like to change read commited snapshot to default isolation at database level.how to do it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
my question is i have a database with read commited snapshot isolation level however the databse is hitting with a qurey with No Lock Hint.which will override(reading data from tempdb due to read commited snap shot or dirty reads due to No Lock Hint)?
ASKER
Excellent Really helpfull to me
http://msdn.microsoft.com/en-us/library/bb522682.aspx
ALTER DATABASE AdventureWorks SET READ_COMMITTED_SNAPSHOT {ON | OFF }
As far as swithcing back and use NOLOCK hint I suggest you read the article below before deciding to go that way to see and understand what NOLOCK means and does:
http://blogs.msdn.com/b/davidlean/archive/2009/04/06/sql-server-nolock-hint-other-poor-ideas.aspx