FIX : "SET ROWCOUNT" May Cause Data to be Unreadable
This article was previously published under Q295023
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 352867 (SHILOH_BUGS)
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.
- The SET ROWCOUNT value is lower than the number of rows in the table.
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 theMicrosoft Knowledge Base:
INF: How to Obtain the Latest SQL Server 2000 Service Pack
Do not turn on the SET ROWCOUNT option when you use an ALTER TABLE statement.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
This problem occurs irrespective of the client utility used to connect to SQL Server 2000.
Article ID: 295023 - Last Review: 01/16/2015 22:15:58 - Revision: 3.2
- Microsoft SQL Server 2000 Standard Edition
- kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB295023