Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

(SSIS 2012) Excel Destination Columns Added After Data Flow Task Already Designed Expand / Collapse
Author
Message
Posted Wednesday, May 7, 2014 2:07 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, September 19, 2014 10:49 AM
Points: 36, Visits: 237
Working on an SSIS 2012 project for a client.

The project basically finds and loops through a bunch of incoming Excel file, does ETL on each Excel file, and places the transformed/cleaned data into individual Excel template files that just have column headers in them until the data from each Excel file is imported into the template files.

The Excel template file that's serving as the Excel Destination is generally staying the same as far as the number and order of columns expecting incoming data, but it is changing occasionally as my client finalizes what fields of data they want to be able to be captured in the template files.

So, for simplicity, let's say the package and associated data flow tasks are designed at present with these 3 fields in place in the Excel template file:
--- Name
--- Social Security #
--- Phone #

If my client decides after everything's already been designed that they also want to add a 4th column ("Date of Birth") to the Excel template file, I'm seemingly having to recreate all components involved in the data flow tasks in order to be able to refresh and see/map this new "Date of Birth" column.

It would seem to me that there should be an easy way to refresh the items (specifically the Excel Destination object that shows the columns from the underlying Excel template file) to where once the "Date of Birth" field has been added to the Excel template file, I can then easily open the Excel Destination object that maps to this underlying Excel template file and I suddenly see the presence of this newly-added "Date of Birth" field.

What am I missing here? It's causing me a great slowdown to have to delete and rebuild each object involved within each of numerous data flow tasks just to be able to see/use/map a newly-added column from the Excel template file.

Many thanks for any info. here.

Post #1568684
Posted Tuesday, May 27, 2014 3:08 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Sunday, September 14, 2014 3:17 PM
Points: 1,118, Visits: 2,224
Brad,

There is no other way. You have to refresh the components, to make the additional column appear.


---
SSIS Tasks Components Scripts Services | http://www.cozyroc.com/

Post #1574996
Posted Tuesday, May 27, 2014 3:17 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, September 19, 2014 3:41 PM
Points: 1,410, Visits: 8,095

Brad,

You do not have to recreate anything. You can edit each data flow, including the associated connections, to add the required column.





Alvin Ramard
Memphis PASS Chapter

All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.
Post #1575001
Posted Thursday, June 26, 2014 5:59 PM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, September 19, 2014 6:01 PM
Points: 356, Visits: 871
You have to touch everything that depends on that data stream so that it knows what to do with that new column.
Post #1586693
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse