3

Can any one help me out how can i merge excel files having same columns which are saved in one folder to one destination excel file using SQL Server Integration services(SSIS) .

1 Answer 1

1

add an Excel source for each of your files an a "union all" task to join them, so if you have 20 rows on your first excel and 30 on the second, you will end up with 50 rows:

enter image description here

to set the source and destination paths, just double click each of the tasks and set the connection manager

EDIT:

example of how to read an excel file here

Sign up to request clarification or add additional context in comments.

7 Comments

Thanks Diego. But i am new to SSIS. Where can i get step by step procedure to achieve above task
that is the step by step procedure :) I edited my answer with an example of reading an excel file, just do it twice
What if there are 100 excel files? Creating 100 excel sources is a lengthy procedure. Is there a better way to append data of all 100 excel files to 1 excel file using SSIS?
no, then you need to use a foreach loop container class to loop the files, get the file path on a variable and your excel source will read from this variable
Thanks. I know very basics of SSIS, but can u brief me the procedure used to do this task? U can mail me if u have any docs?
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.