BUG: "Invalid number" Error When Inserting Decimals into UNIX Version of OracleID: Q216978
|
When using parameter binding in the Microsoft Oracle ODBC driver to insert decimal values into an Oracle server installed on UNIX, the following error is returned:
This error does not occur when inserting the same values into an Oracle server installed on Windows NT.[Microsoft][ODBC driver for Oracle][Oracle]ORA-01722: invalid number
During connection, the Oracle driver determines the character to use as a decimal separator by issuing the following statement:
SELECT 99/100 FROM DUAL
A supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem. If you are not severely affected by this
specific problem, Microsoft recommends that you wait for the next
that contains this fix.
To resolve this problem immediately, contact Microsoft Product Support Services
to obtain the fix. For a complete list of Microsoft Product Support Services
phone numbers and information on support costs, please go to the following
address on the World Wide Web:
http://www.microsoft.com/support/supportnet/overview/overview.asp
Date | Time | Version | Size | File Name | Platform | |
---|---|---|---|---|---|---|
MDAC 2.0 | 02/02/99 | -- | 02.573.3802 | 136KB | Msorcl32.dll | -- |
MDAC 2.1 | 02/01/99 | -- | 02.573.3801 | 139KB | Msorcl32.dll | -- |
Regsvr32.exe msorcl32.dll
Q154871 Determining If You Are Eligible for No-Charge Technical Support
Do not use parameter binding in your application; instead, just insert the values hard-coded into an INSERT statement.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
Additional query words: decimal oracle unix invalid number parameter ORA-01722
Keywords : kbDatabase kbDriver kbODBC kbOracle kbUNIX kbODBC250bug kbODBC351qfe
Version : WINDOWS:2.0,2.1,2.5
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 2, 1999