BUG: dbconvert to decimal from Float Fails for Small Values

Q152108


The information in this article applies to:


SYMPTOMS

Converting a DBFLT8 to DECIMAL fails if the value is between -0.00001 and 0.00001, excluding zero, even if the scale and precision for the decimal are appropriate such that precision should not be lost.


WORKAROUND

Convert from a SQLCHAR to DECIMAL.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

This problem does not occur in Microsoft SQL Server version 6.5.

Additional query words: DB-Library dbconvert

Keywords :
Issue type :
Technology : kbSQLServSearch kbAudDeveloper kbSQLServ600


Last Reviewed: March 28, 1999
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.