Table Mapping using joins

If more than one input table is included in a transform action, use the Table Mapping area to create join relationships between the fields in the tables.

  • Drag from a field in one table “A” to a field in another table “B.” This creates an initial relationship between the two fields, which by default is an Inner join, and it is indicated by a join line extending between the two fields. Once joined, the two fields are moved to the top of their respective table column lists.

  • To change the type of join, right-click on the join line, and select a different type -
    • Matching rows between <Table A> and <Table B>
    • An “Inner Join” that includes only matching records from Table A and Table B.
    • All rows from <Table A>
    • An “Outer Join” that includes all records from Table A and those records that match from Table B.
    • All rows from <Table B>
    • An “Outer Join” that includes all records from Table B and those records that match from Table A.
    • All rows from <Table A> and all rows from <Table B>
    • A “Full Outer Join” that includes both the non-matching and matching records from both tables.
  • Repeat for all fields being mapped between the two tables.

When creating multiple field mappings between two tables, all the mapping types must be the same; all mappings are changed to the type of the most recently configured mapping.

For some transform actions, you can join additional tables as necessary.

As you define your mapping, click the execution tree icon to view the joins in a tree-like structure showing the processing order to be used for generating SQL.

Last modified: Thursday December 19, 2024

Is this useful?