什么应该是理想的asp.net和sql server 2008的隔离级别策略。我们使用read-commited但它仍然挂起,见下文。
Customers
Read Committed
交易1:
set transaction isolation level read committed
Begin Tran
UPDATE Customers
SET ordercount = 50
WHERE id = 2
WAITFOR DELAY '000:00:20'
rollback tran
交易2:
set transaction isolation level read committed
Begin Tran
Select * From Customers
Trans commited
交易2挂起20秒!!如何处理这种情况?
此致
CHANDAN