Is there a way to do a read uncommitted when using Rob Conery’s Massive without writing your own query?
It is for a site that is mostly read-only. A CMS type of a site.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The cheat way to do this is when you are doing your declaration for the table. Pass in a (nolock) hint:
If you don’t want to have established dirty models and clean models, for the what I hope to be rare times you are doing this, you can just go straight to SQL:
I use the above code for system objects and some other behind the scenes stuff where I know it won’t matter, but you should always be very cautious and know what you are getting into when you drop to that isolation level.
See blog post How dirty are your reads?