I use SQL Server 2016
and I have a very busy DataFlow task
. In my DataFlow task
, I use Multicast component
for some reason. After creating a new Flow in my DataFlow
, I need to delete some of the columns in the new flow because they are useless.
Just for more information, I need to do that because I have more than 200 columns in my flow and I need less than 10 of those columns.
How can I delete the columns in DataFlow Task
in SSIS?
I believe that you can pass just one data flow path to a UNION ALL
task to remove columns from that single data flow.
Take the single data flow path that you would like to remove columns from and pass it to a Union All
task. Then open up the Union All
task right click on the column(s) you would like to remove from that path and select delete.
Usually I think the source of the data should be altered to not send the unwanted columns out, but your case is special. With one path out of the multicast needing all of the columns from the source, while one path does not.