Microsoft KB Archive/275427

= FIX: SP2 Regression: Update That Contains a Join Causes a 601 Error Message and Produces Incorrect Results =

Article ID: 275427

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q275427



BUG #: 58168 (SQLBUG_70)



SYMPTOMS
When SQL Server is run on a multiple processor computer it is possible for an UPDATE statement that contains a JOIN to cause the following 601 error message to occur:

&quot;Could not continue scan with NOLOCK due to data movement.&quot;

The number of rows affected by the operation will be incorrect.

On a single processor computer, the query reports that the UPDATE completed successfully instead of reporting the number of rows affected if there are no indexes on any of the tables involved in the UPDATE statement. With indexes for the tables involved in the join but no index on the updated table, the number of rows affected might be reported but the number is incorrect.



WORKAROUND
To work around this problem, add an index to the table that is being updated. The index does not need to be unique or clustered.



STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.

Additional query words: 601 error

Keywords: kbbug kbfix kbqfe KB275427

-

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

© Microsoft Corporation. All rights reserved.