Hi,
I am extracting data from the flat file by defining all the field as Varchar but before loading to target I need to convert some filed to decimal.
I tried using the Cast function but it didn't work and it sent the NULL value to the target.
however the to_decimal function work but I am not getting the thousand separator in the target value.
Here are the conversion function which I tried:
Cast(expression,’decimal(Precision,scale)’)
To_decimal(’19.130,234’,’,’,’.’,3)=19130,234
I also tried to map this field without using any function but it sent NULL value.
Please note here Thousand Separator should be dot(.) and Decimal Separator should be comma(,).
Please help me to resolve this issue.
Thanks
-Ankit