BUG: dbconvert to decimal from Float Fails for Small Values

ID: Q152108


The information in this article applies to:
  • Microsoft SQL Server version 6.0


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 : SSrvDB_Lib SSrvProg kbbug6.00
Version : 6.0
Platform : WINDOWS
Issue type :


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