informatica - Keeping Data Integrity, Losing leading zero, dropping zero off money, converting number to month -


i mapping oracle views output csv file. used expression transformation apply rules.

here have been struggling with

database value -> output csv value

0023 -> 23

23.00 -> 23

23-01 -> 23-jan

for 0023, leading 0 lost, varchar in view, string in sq , string in flat file. tried lpad(value, 4, '0') nothing works

for money, string in flat file, tried

to_decimal(hourly_rt, 2) in transformation, did not work.

the 23-01, concat 2 fields together,

concat(concat(value1,'-'), value2). value1 , value2 varchars in view , string in sq. not sure how value2 got converted month.

any appreciated. thanks.

the output csv file has values expect. when opening file in excel, formatting values that. try opening csv file in notepad or other text editor.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -