The information in this article applies to:
SYMPTOMS
An ODBC Driver, which is written to conform to the ODBC 3.0 Specification,
must support the SQL_C_NUMERIC datatype. If the driver returns 3.0 on a
call to the SQLGetInfo function (using SQL_DRIVER_ODBC_VER), but does not
support the SQL_C_NUMERIC datatype, then a SQL_ERROR may be returned while
performing a SQLBindCol or SQLGetData on a decimal field when using the
Microsoft Data Access Components (MDAC) 2.0 OLE DB Provider for ODBC.
CAUSE
According to ODBC 3.0 specifications, the SQL C data type, SQL_C_NUMERIC,
must be a supported data conversion type for an ODBC 3.0 driver.
RESOLUTIONThe only workaround is that the ODBC 3.0 driver in question needs to support the SQL_C_NUMERIC SQL C datatype. Contact the vendor for your ODBC Driver to inquire about obtaining an ODBC Driver that is compliant with the ODBC 3.0 Specification. REFERENCESMicrosoft ODBC 3.0 Software Development Kit and Programmer's Reference, Microsoft Press, ISBN 1-57231-516-4 Additional query words: Sybase
Keywords : kbDatabase kbMDAC kbODBC kbOLEDB kbProvider kbGrpMDAC kbDSupport kbADO210sp2 kbGrpODBC |
Last Reviewed: November 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |