Page 1 of 1

Error when converting column overflows decimal datatype

Posted: Wed Apr 09, 2014 6:10 am
by deesh
Hi,

Please some one tell to me how to solve below error issue.

Same job running fine in 8.5, but giving error in 9.1.2

I know this is conversion issue, but not getting the exact solvation idea.

The OCI function OCIStmtFetch2 returned status -1. Error code: 1,457, Error message: ORA-01457: converting column overflows decimal datatype. (CC_OraStatement::fetch, file CC_OraStatement.cpp, line 1,599)

Posted: Wed Apr 09, 2014 6:48 am
by anbu
Use Decimaltodecimal() to convert precision and scale to match column datatype on your target database

Posted: Wed Apr 09, 2014 6:51 am
by deesh
giving error at oracle connector stage, it is the source stage

Moreover working fine in 8.5 with oracle enterprise, after migrate to 9.1.2 it is giving error with oracle connector.

Posted: Wed Apr 09, 2014 7:09 am
by anbu
Change precision and scale on source connector stage to match column datatype on database

Posted: Wed Apr 09, 2014 7:17 am
by deesh
same datatype same data using for 8.5 even, but no fail in that, why only in 9.1.2 while extracting the data.

Posted: Wed Apr 09, 2014 7:27 am
by anbu
DS 9.1 is lot stricter on datatype. If your metadata in the job doesn't match your table then you will get these errors

Posted: Wed Apr 09, 2014 7:40 am
by deesh
ok, in this case how to identify the field which one is giving interruption among 20 decimal fields

Posted: Wed Apr 09, 2014 7:51 am
by anbu
Either verify it manually for all columns or import metadata through Orchestrate Schema definitions and reload metadata on source stage