Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Right Outer Join Syntax

Right Outer Join Syntax

You can create a right outer join with a join override. The right outer join returns the same results as a left outer join if you reverse the order of the tables in the join syntax. Use only one right outer join in a join override. If you want to create more than one right outer join, try reversing the order of the source tables and changing the join types to left outer joins.
When you use a right outer join with other joins, enter the right outer join at the end of the join override.
To create a right outer join, use the following syntax:
{
source1
RIGHT OUTER JOIN
source2
on
join_condition
}
The following table displays syntax for a right outer join in a join override:
Syntax
Description
source1
Source table name. The Integration Service returns rows from this table that match the join condition.
source2
Source table name. With a right outer join, the Integration Service returns all rows in this table.
join_condition
Condition for the join. Use syntax supported by the source database. You can combine multiple join conditions with the AND operator.
You might use a right outer join with a left outer join to join and return all data from both tables, simulating a full outer join. For example, you can extract all registered customers and all purchases for the month of June with the following join override:
{REG_CUSTOMER LEFT OUTER JOIN PURCHASES on REG_CUSTOMER.CUST_ID = PURCHASES.CUST_ID RIGHT OUTER JOIN PURCHASES on REG_CUSTOMER.CUST_ID = PURCHASES.CUST_ID }
The Integration Service returns the following data:
CUST_ID
FIRST_NAME
LAST_NAME
TRANSACTION_NO
DATE
AMOUNT
00001
Marvin
Chi
06-2000-0003
6/10/2000
255.56
00002
Dinah
Jones
06-2000-0001
6/3/2000
55.79
00003
John
Bowden
NULL
NULL
NULL
00004
J.
Marks
06-2000-0004
6/15/2000
534.95
00002
Dinah
Jones
06-2000-0002
6/10/2000
104.45
00002
Dinah
Jones
06-2000-0005
6/21/2000
98.65
NULL
NULL
NULL
06-2000-0006
6/23/2000
155.65
NULL
NULL
NULL
06-2000-0007
6/24/2000
325.45

0 COMMENTS

We’d like to hear from you!