Remove Unused Columns From The Data Flow

Consider the following scenario. You’ve been developing some SSIS packages, nicely making sure that all errors and warnings are gone from the Error List window. So the next step is to deploy the packages to the server and schedule them. After some days you decide to have a look at the sysssislog table and discover that it’s filled with OnWarning records!

Well, this is an extreme example of course. Careful developers would notice the warnings in either the Output window or the Progress tab while testing the package in the BIDS.

All these warnings are indicating that some columns in your data flows have become obsolete.  Here’s an example:

The output column “BKCustomerID” (13529) on output “OLE DB Source Output” (12088) and component “OLE_SRC MySource” (12077) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance.

The problem with these warnings is not only that they slow down the transformation process but they obfuscate the SSIS log with thousands of records, making it difficult for you when you need to investigate an issue. And this is something that you really don’t want, especially when the business people are calling you to ask why the data is not up-to-date on the production servers.

If you ever wished that you’d see these warnings whilst developing the package instead of at runtime only, now’s your chance to make a change. Or better, to ask Microsoft to implement the change.

Follow this link to cast your vote on Connect!

Thank you Jamie for pointing this out.

Have fun!



Tags: , ,

  1. Nicolas’s avatar


    have you ever had the problem that SSIS threw the warning, but it was a false alarm? I am passing in a column as a parameter to a stored proc that is used in OLE DB task in the data flow. SSIS tells me this column is never used upstream of the OLE DB task, so I removed it. As it turned out, I needed that column as a parameter for the SP.

    Any hints why SSIS gave me the warning, although the column was used?


  2. rean’s avatar

    is there a resolution for such an error, my ssis package consists of data flow task comprising an oledb data source and a scriptcomponent (as a destination), the need is to process data from the oledb source to a flat file, i did not have an output column but still get this warning message..any suggestion to resolve this will be appreciated.


© 2008-2019 BI: Beer Intelligence? All Rights Reserved