Microsoft KB Archive/295023

= FIX : &quot;SET ROWCOUNT&quot; May Cause Data to be Unreadable =

Article ID: 295023

Article Last Modified on 11/5/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q295023



BUG #: 352867 (SHILOH_BUGS)



SYMPTOMS
Using an ALTER TABLE statement to alter a column in a table may cause data in that column to become unreadable or to display incorrectly if:
 * A SET ROWCOUNT statement is used prior to the execution of the ALTER TABLE statement.

-and-


 * The SET ROWCOUNT value is lower than the number of rows in the table.



RESOLUTION
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack



WORKAROUND
Do not turn on the SET ROWCOUNT option when you use an ALTER TABLE statement.



STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.



MORE INFORMATION
This problem occurs irrespective of the client utility used to connect to SQL Server 2000.

Keywords: kbbug kbfix kbsqlserv2000sp1fix KB295023

-

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

© Microsoft Corporation. All rights reserved.