The information in this article applies to:
BUG# 9661 (4.2b) SYMPTOMS
Certain floating point numbers are not correctly displayed by ISQL/w.
For example, executing the following TRANSACT SQL statement:
Will generate
This is caused by the inherent loss of precision incurred when representing float data. Certain floating point values will be converted into wide character strings which cannot be displayed by ISQL/w - - 0.0006 but will be converted to the following string 6.000000000000001e-004. WORKAROUNDUse the TRANSACT SQL STR function when retrieving data of type FLOAT. Unless information that can only be represented as float needs to be stored, use the other available datatypes. STATUSMicrosoft has confirmed this to be a problem in SQL Server version 4.2b for OS/2. This problem does not occur in version 6.0. Additional query words: dblib dbroutines dbconvert
Keywords : kbtool SSrvISQL |
Last Reviewed: March 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |