PRB: Oracle Numeric Fields Must be Converted for Logical TestsLast reviewed: December 17, 1997Article ID: Q178043 |
The information in this article applies to:
SYMPTOMSWhen you use an Oracle numeric field a "Type Mismatch" error occurs. The error occurs in the following two scenarios:
CAUSEThe following two conditions cause this behavior:
RESOLUTIONThe following conversion functions return values that are comparable to integers:
In the scenarios listed in the SYMPTOMS section above, making the following changes would correct the problem:
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONOracle uses a numeric data type. If an integer value is stored in a numeric field, some ODBC drivers (for example, Intersolv version 3.01) returns a data type of double-precision floating point (that is, VBScript VarType of 5); other drivers (for example, Microsoft ODBC for Oracle version 2.73.7269) more accurately returns numeric data type (that is, VBScript VarType 14). In all cases, the ADO Type property returns type 131 (that is, numeric).
Keywords : kb3rdparty VIADO VIODBC Technology : kbInetDev Version : WINDOWS:1.0,1.5 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |