when/what locks are hold/released in READ COMMITTED isolation level
问题 I am trying to understand isolation/locks in SQL Server. I have following scenario in READ COMMITTED isolation level(Default) We have a table. create table Transactions(Tid int,amt int) with some records insert into Transactions values(1, 100) insert into Transactions values(2, -50) insert into Transactions values(3, 100) insert into Transactions values(4, -100) insert into Transactions values(5, 200) Now from msdn i understood When a select is fired shared lock is taken so no other