Page 1 of 1

Nullable Value transforms to 0 while writing to OracleDB

Posted: Thu Nov 29, 2018 1:24 am
by mpunktmayer
There is a job

ALotOfTransformation -> finale_Transfomer -> Oracle DB

In the final_Transformer there is a Field defined as Decimal 25,2 nullable. The row with the problem has the value NULL. When I write the field to the database, the NULL value suddenly becomes 0.

The field in the Database is configured as NUMBER(25,2) nullable.

I tested it with the following Job setup:
ALotOfTransformation -> finale_Transfomer -> PEEK
... and the Peek shows me the NULL Value.

Any Ideas why the Oracle Stage Changes NULL to 0 ?!

Posted: Fri Nov 30, 2018 2:37 am
by thompsonp
How are you checking the value in the Database?

What happens if you insert a null value into that table / column from outside DataStage?

Posted: Fri Nov 30, 2018 5:48 am
by chulett
Any chance this is a bulk load?