FIX: Dropped Net Session Not Detected During Long Query |
Q124949
A query can continue to run on SQL Server even after the client reboots and the network session has dropped. The query will acquire whatever type of locks are appropriate for the query type, which in some cases can block other users. Unless it becomes blocked on another connection's lock, the query will terminate when it has run to completion or when it needs to send results back to the nonexistent client. The query can usually be terminated with the Transact-SQL KILL command.
If a client is running a long query that does not return results for a
while, then the net session is dropped because the client reboots, the
query can continue to run. An example of this type of query would be:
SELECT COUNT(*) FROM LARGETABLE
This problem only happens infrequently, as two fairly rare simultaneous
events must occur to reproduce it.
Microsoft has confirmed this to be a problem in Microsoft SQL Server version 4.21. This problem was corrected in the latest U.S. Service Pack for SQL Server version 4.21a. For information on obtaining the Service Pack, please contact your primary support provider.
Additional query words: Windows NT opendsnt
Keywords :
Issue type : kbbug
Technology : kbSQLServSearch kbAudDeveloper kbSQLServ420OS2
|
Last Reviewed: March 24, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |