OS_Pizza
2 years agoContributor III
Remove suffix from source data where data is coming from a table.
Source
A10000_0
Target
A10000
How can we achieve it in different ways?
1. Connector SQL query -> Using this in the sql query Select left(Account, len(Account)-2) leaves blank rows in the import step.
2. Data Source ?
2.a. Logical expression
Return args.Value.Replace("_0", String.Empty) - This works fine.
2.b. What about Text Fill settings or Substitution settings?
3. Transformation Rule ?
It shouldn't. Is it something like you're not naming your column when using the function? E.g., should perhaps be: Select left(Account, len(Account)-2) AS Account