Select the product you need help with
FIX: Update on a Table with INT and BIT Columns May Zero Out INT ColumnsArticle ID: 294872 - View products that this article applies to. This article was previously published under Q294872
BUG #: 352839 (SHILOH_BUGS)
SYMPTOMS
A table that was created with int columns, which appear somewhere after a bit column, may have the int columns zeroed out when other columns in the table are updated.
RESOLUTIONTo 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
(http://support.microsoft.com/kb/290211/EN-US/
)
INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
To work around this problem, either:
STATUSMicrosoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1. MORE INFORMATIONTo reproduce the problem, use the code that follows. Removing any of the columns or changing the data types of the BIT columns prevents the problem from occurring. In the following example the integer columns are set to zero even though they are not included in the SET clause of the update. PropertiesArticle ID: 294872 - Last Review: November 5, 2003 - Revision: 3.2
|


Back to the top








