Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quering a table with a transaction going on.

Status
Not open for further replies.

Leon1977

IS-IT--Management
Jun 27, 2001
79
BG
OK SO we have two sessions.
First one starts a transaction
begin tran insert into users values('bla','bla')
Then
Second One: Select * from users...
The second session hangs till the transaction is committed or rollbacked.
Is there a way that, the select statement returns data the way it was before
the begining of the transaction.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top