Question : NOLOCK by Default

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.

Answer : NOLOCK by Default

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
Random Solutions  
 
programming4us programming4us