Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
I am attempting to translate an Informix script to SQL Server and came up against
OUTER( ppi, party, OUTER person, OUTER org )
I went here [url]http://savage.net.au/SQL/outer-joins.html[/url] to example 5, but its not much help. Any light that may be shed on this would be appreciated.TIAEducation is what you have after you've forgotten everything you learned in school
(leftquery) lLEFT OUTER JOIN (SELECT fields FROM ppi INNER JOIN party ON fields.. LEFT OUTER JOIN person ON fields.. LEFT OUTER JOIN org ON fields...) tON t.fields..=l.fields...
doco
Yak Posting Veteran
77 Posts
Posted - 2008-10-04 : 13:27:35
Thanks visakh - it works swimmingly
...LEFT OUTER JOIN AscendWheelerMain..ppi ppi INNER JOIN AscendWheelerMain..party pty ON ppi.party_id = pty.id LEFT OUTER JOIN AscendWheelerMain..person pers ON pers.party_id = ppi.party_id LEFT OUTER JOIN AscendWheelerMain..org orgn ON orgn.party_id = ppi.party_id ON ppi.id = ex.ppi_id...
Education is what you have after you've forgotten everything you learned in school