trim function not working
Posted: Wed Apr 18, 2012 9:30 am
Hi,
My job is fetching data from netezza database , doing transformations in transformer stage and writing to netezza daatbase.
In the transformer I am using the transformation len(trim(column1)) where column1 is having datatype char2 . I can see all the input value for column1 is '5' , but the transformer output shows 2 where as the expected value is 1 .
I tried with the transformation len(trimb(trimf(column1))) but the same result.
Please advise any way to trim the column1
My job is fetching data from netezza database , doing transformations in transformer stage and writing to netezza daatbase.
In the transformer I am using the transformation len(trim(column1)) where column1 is having datatype char2 . I can see all the input value for column1 is '5' , but the transformer output shows 2 where as the expected value is 1 .
I tried with the transformation len(trimb(trimf(column1))) but the same result.
Please advise any way to trim the column1