The short answer is "no". The default isolation level in SQL Server is READ COMMITTED
, and there is no way to change this to UNCOMMITTED
, either globally or per-database. And that's a very good thing too.
WITH (NOLOCK)
is a recipe for trouble when it comes to getting accurate results from your database, and in bad cases it can even cause timeouts from queries that run forever due to data getting moved (which NOLOCK
cannot protect against). See Is the NOLOCK (Sql Server hint) bad practice? for some more discussion, and some good tips on alternatives.
In particular, many applications that are reader-heavy and want to proceed without blocking can benefit from snapshot isolation. Unlike UNCOMMITTED
, you can make snapshot isolation the default with the READ_COMMITTED_SNAPSHOT
option. Be sure to read up on the pros and cons of snapshot isolation before you do this -- or better yet, ask your DBA to do this, as any DBA who recommends a global use of WITH (NOLOCK)
has some reading up to do. Query hints should be used only as a last resort.