Hi all,
Does anyone have idea to implement right outer join in datastage.
for instance,
A.Value=B.Value(+)
Where B is the look up.
Regards
right outer join
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It is possible to prove that A RIGHT OUTER JOIN B ON condition is equivalent to B LEFT OUTER JOIN A ON condition for an equijoin, though I don't propose to provide that proof here.
Stream input from table B and perform regular lookups against table A (or a hashed file populated from table A). Do not constrain the output of the Transformer stage and there is your outer join. Voila!
Stream input from table B and perform regular lookups against table A (or a hashed file populated from table A). Do not constrain the output of the Transformer stage and there is your outer join. Voila!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
All hashed, ODBC, and OCI lookups to the primary input stream are equi-joins, think of it like a cursor lookup. A found row is not required.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle