I am using the SSIS package to read the data from the flat file and then push the data to the SQL Server db. But some of the incoming columns are containing the blank spaces and i would like to trim them.
I am unable to understand how to perform this small task of column trimmming inside the data flow of the SSIS package.
Please suggest how to make this change.
SSIS Package version 2014
IDE :- VS.NET 2017
All you need is Derived column
transformation and proper combination of LTRIM and RTRIM
I am using LTRIM(RTRIM([column]))
. This will remove trailing and leading spaces.