FIX: Complex T-SQL Batch May Hang During Query Plan GenerationLast reviewed: May 2, 1997Article ID: Q147177 |
The information in this article applies to:
SYMPTOMSThe 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.
WORKAROUNDBreak the transact-SQL batch into smaller components. You can do this by adding "Go" between the transact-SQL statements.
STATUSMicrosoft 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |