Knowledge Base

FIX: SQL Server Stops Responding After an INSERT/SELECT

Article ID: 159598

Article Last Modified on 10/3/2003


APPLIES TO


This article was previously published under Q159598
BUG #: 15780 (6.50)

SYMPTOMS

Running an INSERT-SELECT statement without a FROM clause (such as 'INSERT INTO TABLE SELECT * WHERE 1=2') may cause SQL Server to stop responding. No more connections can be made, existing connections time out, and no error messages are presented in SQL Server the errorlog. SQL Server cannot be shut down from either Service Manager or Control Panel.

WORKAROUND

To work around this problem, add a FROM clause to the query.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Additional query words: hang hung freeze frozen lock up lockup lock-up locked syntax

Keywords: kbbug kbfix kbnetwork kbusage KB159598