Home Forums Data Warehousing Integration Services Refresh flat file source columns from change in Foreach Loop Container RE: Refresh flat file source columns from change in Foreach Loop Container

  • Luv SQL - Wednesday, March 7, 2018 9:59 AM

    I have an integration that works great and took a while to get it setup to work properly.  I now need to modify the Foreach Loop Container to point to different files that have different columns.  I modified the Foreach Look to point to the new files (eg. NewFiles*.csv).  The flat file source Data Task within the Foreach Loop container is not reflecting the new columns.  There is no option of refreshing the columns.  

    How do I refresh the source when the foreach loop changes?  I'd really like to avoid having to redo everything.

    Column names and properties are set at design time only, so you will have to do this in VS and not at run time.
    Even if SSIS could read the modified source columns, it would not know how to process them or where to map them.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.