FIX: Complex T-SQL Batch May Hang During Query Plan Generation

ID: Q147177


The information in this article applies to:
  • Microsoft SQL Server version 6.0

BUG# NT: 13132 (6.0)

SYMPTOMS

The complex transact-SQL batch hangs when executed in SET NOEXEC ON mode. The transact-SQL query batch has two inserts with a co-related update statement. Execution with SET NOEXEC ON causes the connection to be stranded with CPU utilization at 100 percent. Execution with SET NOEXEC OFF causes the connection and locks to be stranded with CPU utilization at 100 percent.


WORKAROUND

Break the transact-SQL batch into smaller components. You can do this by adding "Go" between the transact-SQL statements.


STATUS

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

Additional query words: sql6 batch tsql

Keywords : kbprg SSrvTran_SQL kbbug6.00 kbfix6.00.sp3
Version : 6.0
Platform : WINDOWS
Issue type :


Last Reviewed: March 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.