Reputation: 3
I want to load data from flat file to OLB database Destination in SSIS, but before loading in Source, I want to convert the data...
The problem is that I don't know how to do it. For example:
Data: 1,XYZ,03XX-XXXXXX,street number town number, road city
Now, I want to remove road cite
, after town number
before loading in a flat file destination.
Upvotes: 0
Views: 71
Reputation: 269
If the data in your text file is coming in as in screenshot1 and you want your output to look like the one in screenshot2 then uncheck the column in which you have your road city data as in screenshot3.
Upvotes: 1
Reputation: 31785
Use a derived column transformation, and use an expression to create a new column that removes the comma that you want to remove.
Then in your OLE DB destination, map the new column instead of the old one to your destination column.
Upvotes: 1