Logo DWBI.org Login / Sign Up
Sign Up
Have Login?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Login
New Account?
Recovery
Go to Login
By continuing you indicate that you agree to Terms of Service and Privacy Policy of the site.
SAP Data Services

Using MERGE Transform in SAP Data Services

 
Updated on Oct 01, 2020

This tutorial describes how to use MERGE transform in SAP Data Services (formerly known as BusinessObjects Data Services). A short video is also provided to provide hands-on.

This article is part of our comprehensive data services tutorial Learning SAP Data Services - Online Tutorial, you may want to check that tutorial first if you have not already done so.

Why Merge Transform?

Merge transform is basically used to combine multiple incoming data sets to produce a single output dataset with the same schema (structure) as that of the input data set.

This is same as performing SQL UNION ALL operation.

Please note that structure of the input data sets must be same in order for you to combine them inside merge transform.

Example of Application of Merge Transform (Video)

The video below illustrates the hands-on application of merge transform. In this example, we will take 3 different flat files with necessarily the same structure as our source and then use merge transform to merge the data in these files together and load them in a single target table.

How to do UNION using Merge Transform

Although the merge transform actually does UNION ALL operation, we can use a query transform after the merge transform to achieve pure SQL UNION. The video above describes how to do this. Basically all you have to do is to use a Query Transform after Merge Transform and then check "Distinct rows" option under the "SELECT" tab of the query transform.

PrimeChess

PrimeChess.org

PrimeChess.org makes elite chess training accessible and affordable for everyone. For the past 6 years, we have offered free chess camps for kids in Singapore and India, and during that time, we also observed many average-rated coaches charging far too much for their services.

To change that, we assembled a team of top-rated coaches including International Masters (IM) or coaches with multiple IM or GM norms, to provide online classes starting from $50 per month (8 classes each month + 4 tournaments)

This affordability is only possible if we get more students. This is why it will be very helpful if you could please pass-on this message to others.

Exclucively For Indian Residents: 
Basic - ₹1500
Intermediate- ₹2000
Advanced - ₹2500

Top 10 Articles