FIX: UPDATE After ALTER TABLE Can Result in Unexpected Data to Added Columns (305042)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q305042
BUG #: 354988 (SHILOH_BUGS)
BUG #: 355163 (SHILOH_BUGS)
SYMPTOMS
Columns added to a table with ALTER TABLE can appear to have unexpected data if a subsequent UPDATE is executed excluding the new added columns.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft 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
HotfixNOTE: The following hotfix was created prior to Microsoft SQL Server 2000 Service Pack 2.
The English version of this fix should have the following file attributes or later:
Version File name Platform
---------------------------------------
8.00.426 s80426i.exe Intel
NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files. WORKAROUND
Supply new values for added columns when executing an UPDATE after the new columns are added with ALTER TABLE.
If you determine that you have encountered this problem, update new correct values or NULL for the added columns.
STATUS
Microsoft has confirmed this to be a problem in SQL Server 2000.
This problem was first corrected in Microsoft SQL Server 2000 Service Pack 2.
Modification Type: | Major | Last Reviewed: | 10/9/2003 |
---|
Keywords: | kbbug kbfix kbSQLServ2000preSP2Fix KB305042 |
---|
|