Merge Data by Using the Union All Transformation

Applies to: SQL Server SSIS Integration Runtime in Azure Data Factory

To add and configure a Union All transformation, the package must already include at least one Data Flow task and two data sources.

The Union All transformation combines multiple inputs. The first input that is connected to the transformation is the reference input, and the inputs connected subsequently are the secondary inputs. The output includes the columns in the reference input.

To combine inputs in a data flow

  1. In SQL Server Data Tools (SSDT), double-click the package in Solution Explorer to open the package in SSIS Designer, and then click the Data Flow tab.

  2. From the Toolbox, drag the Union All transformation to the design surface of the Data Flow tab.

  3. Connect the Union All transformation to the data flow by dragging a connector from the data source or a previous transformation to the Union All transformation.

  4. Double-click the Union All transformation.

  5. In the Union All Transformation Editor, map a column from an input to a column in the Output Column Name list by clicking a row and then selecting a column in the input list. Select <ignore> in the input list to skip mapping the column.


    The mapping between two columns requires that the metadata of the columns match.


    Columns in a secondary input that are not mapped to reference columns are set to null values in the output.

  6. Optionally, modify the names of columns in the Output Column Name column.

  7. Repeat steps 5 and 6 for each column in each input.

  8. Click OK.

  9. To save the updated package, click Save Selected Items on the File menu.

See Also

Union All Transformation
Integration Services Transformations
Integration Services Paths
Data Flow Task