Hello Team,
I am trying to create a rule for a column βaccount_numberβ in a dev table. We are using version 14.5 and βOne Desktopβ to create the rule.
The requirement is to create a rule which removes the leading and trailing whitespaces from the records of the column. I tried defining below expressions in the Column Assigner step of the plan. The final step of the plan is the JDBC Writer step.
- trim(account_number)
- squeezeSpaces(account_number)
- trimRight(account_number)
Once I make the changes, I save it, run the plan and the plan executes successfully. BUT when I check the records in the databaseβ¦
the whitespaces are still there in the database table records.
Can you please help me understand how to fix this? Which expression should help remove the whitespaces from the records?
Thanks,
Dhruba