Solved

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

Posted on 2014-12-23
1
548 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

776 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