G
Guest
I have a scenario where I am making an update using multiple calls to the
database and all the calls are within the same transaction. However, before
I commit I have need to query some additional data. So I created a NEW
connection and performed the query. Problem is, when the database is SQL
Server 2005 this second query times out because of the other connection with
the transaction open.
This does not happen when the database is SQL Server 2000.
What is the problem? I have read that you can't have multiple readers open
on the same connection, etc. But if you have two separate connections what
I'm trying to do should be possible. Can anyone explain the behavior I'm
seeing?
Thanks!
database and all the calls are within the same transaction. However, before
I commit I have need to query some additional data. So I created a NEW
connection and performed the query. Problem is, when the database is SQL
Server 2005 this second query times out because of the other connection with
the transaction open.
This does not happen when the database is SQL Server 2000.
What is the problem? I have read that you can't have multiple readers open
on the same connection, etc. But if you have two separate connections what
I'm trying to do should be possible. Can anyone explain the behavior I'm
seeing?
Thanks!