Solved

NOLOCK by Default

Posted on 2010-08-25
1
1,083 Views
Last Modified: 2012-05-10
Is there a setting in Server Management Studio (or with SQL) that will run all of my SELECT queries with NOLOCK by default? I know I can specify in the actual query, but I do not want to. I just want it set for the entire session.
0
Comment
Question by:leonstryker
1 Comment
 
LVL 1

Accepted Solution

by:
ajanthony earned 500 total points
ID: 33523162
In SQL 2008 Server Management Studio

Click Tools -> Options.
In the treeview, Underneath Query Execution -> SQL Server -> Advanced.

Set transaction isolation level to READ UNCOMMITTED
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now