Page 1 of 1

Conversion Error

Posted: Tue Oct 22, 2013 2:38 am
by aschindler
Hi Team,
I am using below conversion in one of the derivation in Transformation stage:
DateToDecimal(Column_name,"%yyyy%mm%dd")

Which is throwing below warning:
Conversion error calling conversion routine decimal_from_date data may have been lost.

Please help to avoid above warning

Posted: Tue Oct 22, 2013 4:09 am
by prasson_ibm
What is your input and output datatypes in transformer.

Posted: Tue Oct 22, 2013 4:12 am
by ArndW
What is your "Column_name" data type and your target decimal column definition (datatype and width)?

Posted: Tue Oct 22, 2013 1:14 pm
by ray.wurlod
Your decimal precision must be at least 8. Its scale should be 0.