Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Join 2 CSV files into one

Join 2 CSV files into one

Join 2 CSV files into one


I have 2 separate csv files one with multiple headings and one with just 2 headings, both have one heading with the same name and data underneath.

I want to create just one file from both files. Could someone point me in the right direction, I tried merge but this failed.

Any ideas how to please. Thanks

RE: Join 2 CSV files into one


Ok I have the set up as

2 flat file sources
2 sorts
1 merge join
1 Flat File destination

This creates the file however does not pull in the data. I believe this is because the main join between the 2 source files is a field called "Call.ID"

In the 2 files however the Call.ID have different formats for the files

Source 1 is 3347262
Source 2 is 11003347262

So I believe I need to somehow trim the source 2 file to match source 1. Is this possible in the process I have at the moment and if so where can I achieve this (in the sort or merge join perhaps?)


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close