I tried to reproduce the situation with the question [1].
In the table taken and populated with data from the Isolation (database systems) wiki [2],
in SQL Server 2008 R2 SSMS I performed:
1) first in the first tab (window) SSMS
begin transaction
INSERT INTO users VALUES ( 3, 'Bob', 27 )
waitfor delay '00:00:22'
rollback
2) immediately after, in the second window
SELECT * FROM users
Update:
Sorry, the results have been fixed.
My results, depending on the isolation level set to 2), are that SELECT returns:
, ( ?) [1]
(, SELECT NOCHECK 1)) ..
[1]?
Update2:
[3] ( ).
:
[1]
SQL Server
SQL Server
[2]
" ( )"
Plz ) . , !
http://en.wikipedia.org/wiki/Isolation_(database_systems)
[3]
NOLOCK SELECT SQL Server 2005?
NOLOCK SELECT SQL Server 2005?