Unix Technical Forum

Set READ UNCOMMITTED (dirty read) at login.

This is a discussion on Set READ UNCOMMITTED (dirty read) at login. within the SQL Server forums, part of the Microsoft SQL Server category; --> Is it possible to set READ UNCOMMITTED to a user connecting to an SQL 2000 server instance? I understand ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 07:43 AM
THC
 
Posts: n/a
Default Set READ UNCOMMITTED (dirty read) at login.

Is it possible to set READ UNCOMMITTED to a user connecting to an SQL
2000 server instance? I understand this can be done via a front end
application. But what I am looking to do is to assign this to a
specific user when they login to the server via any entry application.
Can this be set with a trigger?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 07:44 AM
Erland Sommarskog
 
Posts: n/a
Default Re: Set READ UNCOMMITTED (dirty read) at login.

THC (richardrios@clearchannel.com) writes:
> Is it possible to set READ UNCOMMITTED to a user connecting to an SQL
> 2000 server instance? I understand this can be done via a front end
> application. But what I am looking to do is to assign this to a
> specific user when they login to the server via any entry application.
> Can this be set with a trigger?


No. Each process can issue "SET TRANSACTION ISOLATIION LEVEL READ
UNCOMMITTED" when it logs in, but there is no way you as admin can
set this default.

Then again, making dirty reads the default isolation level is a pretty
wild thing to do, so I would suspect that you real problem has a
completely different solution.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com