Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Created Excel files dynamically in SSIS Expand / Collapse
Posted Friday, November 9, 2012 1:35 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, May 23, 2014 9:48 AM
Points: 26, Visits: 94
Can we load the data from multiple flat files (located in different folders) into multiple excel files (NOT excel sheets) using SSIS? Is there a way to create one excel file for each flat file dynamically? Please help! Thanks in advance.
Post #1383222
Posted Monday, November 12, 2012 12:52 AM



Group: General Forum Members
Last Login: Today @ 4:12 AM
Points: 15,506, Visits: 13,165
If all the flat files have the exact same structure: yes. Use a For Each Loop with a dataflow inside and expressions on the connection managers.

If they don't have the same structure: no. It's not possible. You'd need to create seperate dataflows for each flat file.

How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1383530
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse