With a normal join, the Data Integration Service discards all rows of data from the master and detail source that do not match, based on the condition.
For example, you have two sources of data for auto parts called PARTS_SIZE and PARTS_COLOR.
The PARTS_SIZE data source is the master source and contains the following data:
PART_ID1
DESCRIPTION
SIZE
1
Seat Cover
Large
2
Ash Tray
Small
3
Floor Mat
Medium
The PARTS_COLOR data source is the detail source and contains the following data:
PART_ID2
DESCRIPTION
COLOR
1
Seat Cover
Blue
3
Floor Mat
Black
4
Fuzzy Dice
Yellow
To join the two tables by matching the PART_IDs in both sources, you set the condition as follows:
PART_ID1 = PART_ID2
When you join these tables with a normal join, the result set includes the following data:
PART_ID
DESCRIPTION
SIZE
COLOR
1
Seat Cover
Large
Blue
3
Floor Mat
Medium
Black
The following example shows the equivalent SQL statement:
SELECT * FROM PARTS_SIZE, PARTS_COLOR WHERE PARTS_SIZE.PART_ID1 = PARTS_COLOR.PART_ID2