Solved

How to combine two flat files into one using Script Task in SSIS 2012?

Posted on 2014-12-23
1
564 Views
Last Modified: 2016-02-15
I need to combine two flat files into one using SSIS 2012 Script Task. Both files have one common key column and the contents of the column is unique for each row. I am looking for good and reliable way to combine the two files into one. I hope experts can help me with that. Thank you.
0
Comment
Question by:Burzhuin
1 Comment
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 40514949
Create connections to both flat files, plus your output file.
Create a data pump that has...
One source component for each source
You may need sort components if the files are not already sorted
One JOIN component to merge the two data streams into one
One destination component for the target file.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
A couple of weeks ago, my client requested me to implement a SSIS package that allows them to download their files from a FTP server and archives them. Microsoft SSIS is the powerful tool which allows us to proceed multiple files at same time even w…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how the fundamental information of how to create a table.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question