Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Whats the Oracle9i Full OUTER JOIN syntax

Status
Not open for further replies.

PTCruiserII

Programmer
Jan 29, 2002
61
CA
Does anyone know the Oracle 9i FULL OUTER JOIN syntax and also how can I simulate this FULL Outer JOIN in ORACLE8i.

Would I use something like:

Select ... Where a.f1=b.f1(+) or a.f1(+)=b.f1

or would a UNION work

Select ... Where a.f1=b.f1(+) UNION
Select ... where a.f1(+)=b.f1

Any gurus out there?
 
Don't know about 9i, but the UNION approach will work.
 
Thanks Carp

So with the union, I guess any group by or order by will be placed at the end of the whole statement?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top