Isolation level strategy for asp.net and sql server 2008 -


what should ideal isolation level strategy asp.net , sql server 2008. use read-commited still hangs see ex below.

  • table name - customers
  • isolation level - read committed

transaction 1:

set transaction isolation level read committed begin tran  update customers set ordercount = 50  id = 2  waitfor delay '000:00:20' rollback tran 

transaction 2:

set transaction isolation level read committed begin tran  select * customers   trans commited 

transaction 2 hangs 20 second!! how handle scenario?

regards,

chandan


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -