FIX: OPENXML WITH TableName Statement May Return Incorrect Result if Datatype is DECIMAL (300480)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q300480
BUG #: 352890 (SHILOH_BUGS)
SYMPTOMS
When you use an OPENXML WITH TableName statement to view data that uses the DECIMAL data type, the data values may be incorrect. Refer to the "More Information" for an example.
CAUSE
OLE DB does not properly handle the DECIMAL data type.
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 INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
To work around this problem either:
- Use the NUMERIC data type if the WITH TableName option is necessary.
-or-
- Use the WITH SchemaDeclaration option.
STATUSMicrosoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbBug kbfix kbSQLServ2000sp1fix KB300480 |
---|
|