The information in this article applies to:
SYMPTOMS
Existing code that successfully inserts records into a Date field in an Oracle table breaks when upgrading the Microsoft ODBC driver for Oracle from version 2.00.XXXX (Msorcl10.dll) to version 2.573.XXXX (Msorcl32.dll).
However, with the newer version of the Microsoft ODBC driver for Oracle (Msorcl32.dll), the same insert statement gives the following error:
CAUSEIn the old version of Microsoft ODBC driver for Oracle (Msorcl10.DLL), the ODBC driver does the following when it connects:
This explains why an insert of a date field in the following format worked in the previous driver:
With the Microsoft ODBC driver for Oracle (Msorcl32.dll), this feature has been removed. The new driver does not set the date format for Oracle date fields automatically.
RESOLUTIONTo allow existing insert statements to work correctly with the new driver, modify your code as follows:
STATUSThis behavior is by design. Additional query words:
Keywords : kbDatabase kbDriver kbMDAC kbODBC kbOracle kbVBp600 kbVC600 kbGrpMDAC kbGrpODBC |
Last Reviewed: July 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |