FIX: Complex T-SQL Batch May Hang During Query Plan GenerationID: Q147177
|
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.
Break the transact-SQL batch into smaller components. You can do this by adding "Go" between the transact-SQL statements.
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