Microsoft KB Archive/152108

{|
 * width="100%"|

BUG: dbconvert to decimal from Float Fails for Small Values

 * }

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 :

Issue type :

Technology : kbSQLServSearch kbAudDeveloper kbSQLServ600