My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/SSIS One step further
The new RSS feed is here
So I've done my addresses, but what about my companies.
Well its easy.
- Add another connection to get your companies
- Add a fuzzy lookup on the company name of that
- Sort the data (need to sort if your going to merge) by company key
- Send to a merge operation
- Add another sort
- Join the Source of addresses to the second sort, and select the company key to sort on
- Join Both sorts to the merge
- The Merge infers the join by the sort keys
- Join the merge back to the fuzzy lookup for addresses
- Press F5
So now I am de-duping companies, then merging this data with the addresses, and deduping the addresses by company and addres and outputing the results. Without 1 single line of code.
... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/SSIS One step further