How to insert exponential numbers in Oracle?
Posted: Thu Aug 05, 2004 2:39 am
Hi all,
I have setup a simple job for a staging area. This job reads some data from a source table in Oracle , add some fields, write data to a file and then it suppose to insert it in another table in Oracle. For Oracle connection I use ODBC.
The problem appeared from a field which is defined as NUMBER in Oracle and it has sometimes exponential values. The message from log is below:
abc1..ODBC_6.IDENT1.DSLink7: DSD.BCIPut call to SQLExecute failed.
SQL statement:INSERT INTO ORADEVSTAGE.ABC(DUNS_NUMBER) VALUES (?)
SQLSTATE=22005, DBMS.CODE=0
[DataStage][SQL Client]Non-numeric data was found where numeric required
DUNS_NUMBER = 9.99E125
Any ideas how to handle this situation?
I have setup a simple job for a staging area. This job reads some data from a source table in Oracle , add some fields, write data to a file and then it suppose to insert it in another table in Oracle. For Oracle connection I use ODBC.
The problem appeared from a field which is defined as NUMBER in Oracle and it has sometimes exponential values. The message from log is below:
abc1..ODBC_6.IDENT1.DSLink7: DSD.BCIPut call to SQLExecute failed.
SQL statement:INSERT INTO ORADEVSTAGE.ABC(DUNS_NUMBER) VALUES (?)
SQLSTATE=22005, DBMS.CODE=0
[DataStage][SQL Client]Non-numeric data was found where numeric required
DUNS_NUMBER = 9.99E125
Any ideas how to handle this situation?