Reply to Re: Question about Transaction isolation level="readCommitted"

Your name:

Reply:


Posted by Dan Guzman on 05/23/07 12:26

> Is this behavior correct?

In order for the SELECT user to get the old data version in the
READ_COMMITTED isolation level, the READ_COMMITTED_SNAPSHOT database option
needs to be turned on. This was introduced in SQL 2005.


--
Hope this helps.

Dan Guzman
SQL Server MVP

"D." <d@hotmail.com> wrote in message
news:f31654$287$1@newsreader.mailgate.org...
>I have a question about the "readCommitted" transaction isolation level.
>
> I have a client that is updating a record on a table.
> I suspend the execution after the UPDATE but before the commit statement.
>
> Than another client is trying to read the same record.
>
> As transaction isolation is set to "readCommited" I expected that the
> second client will read the old version of the record (before the update).
> Instead, the second client hangs and wait until the first client do the
> commit.
> I expect this behavior if transaction isolation is set to "serializable"
>
> Is this behavior correct?
>
> Thanks,
> D.
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация