Microsoft KB Archive/822756

= A Complex UPDATE Statement That Uses an Index Spool Operation May Cause an Assertion =

Article ID: 822756

Article Last Modified on 10/25/2005

-

APPLIES TO


 * Microsoft SQL Server 7.0 Service Pack 3
 * Microsoft SQL Server 7.0 Service Pack 4

-



BUG #: 200029 (SQLBUG_70)



SYMPTOMS
A complex UPDATE statement that uses an Index Spool operation in the execution plan may cause an assertion. This assertion causes the connection that is running the update to be closed, but it does not affect the other connections to the server. A message that is similar to the following message is logged in the SQL Server error log:

2003-04-20 23:09:38.80 kernel SQL Server Assertion: File: , line=315 Failed Assertion = 'm_len != 0'.

2003-04-20 23:09:38.81 spid7 Error: 3624, Severity: 20, State: 1.



WORKAROUND
To work around this problem, remove the Index Spool operation in the execution plan. To do so, add an index to the table and columns that are referenced by the Seek operation in this step.



RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;[LN;CNTACTMS]

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name -  04-Oct-2002  23:59  7.00.1081          28,944  Dbmssocn.dll 06-Sep-2002 23:55  7.00.1077          53,520  Distrib.exe 06-Sep-2002 23:55  7.00.1077          98,576  Logread.exe 05-May-2003 18:34                     54,904  Opends60.dbg 05-May-2003 18:34  7.00.1093         155,920  Opends60.dll 06-Sep-2002 23:56  7.00.1077         250,128  Rdistcom.dll 06-Sep-2002 23:55  7.00.1077          82,192  Replmerg.exe 06-Sep-2002 23:56  7.00.1077          78,096  Replres.dll 17-Sep-2002 22:52                      7,941  Securityhotfix.sql 06-Sep-2002 23:56  7.00.1077         160,016  Snapshot.exe 30-May-2003 04:21                     59,214  Sp4_serv_uni.sql 15-Jan-2003 01:33  7.00.1085         344,064  Sqlagent.exe 06-Sep-2002 23:55  7.00.1077          45,056  Sqlcmdss.dll 16-May-2003 00:18  7.00.1094       2,629,632  Sqldmo.dll 16-May-2003 13:29  7.00.1094          81,920  Sqlmap70.dll 30-Jun-2003 22:29  7.00.1097       5,062,928  Sqlservr.exe 04-Oct-2002 23:59  7.00.1081          45,328  Ssmsso70.dll 16-May-2003 00:18  7.00.1094          24,848  Ssnmpn70.dll 26-Sep-2002 20:30                     28,408  Ums.dbg 26-Sep-2002 20:27  7.00.1079          57,616  Ums.dll 16-May-2003 13:31  7.00.1094         151,552  Xpweb70.dll Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbfix kbqfe kbsqlserv700presp5fix kbhotfixserver KB822756

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.