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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 OUTER JOIN conversion

Author  Topic 

subhash chandra
Starting Member

40 Posts

Posted - 2010-01-02 : 10:27:49
Hi Experts,

I think by changing the sequence of tables in join order, LEFT and RIGHT OUTER JOIN can be interchanged. On this perception I think that all queries can be written only using one type of OUTER JOIN either LEFT or OUTER.
If you have any query where RIGHT OUTER JOIN is not interchangable to LEFT OUTER JOIN then please let me know.

Regards,
Subhash Chandra

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-01-02 : 12:21:44
Yes - by changing the sequence of tables in join order, LEFT and RIGHT OUTER JOIN can be interchanged - that's nothing new.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

bklr
Master Smack Fu Yak Hacker

1693 Posts

Posted - 2010-01-03 : 01:08:47
go through this link
http://www.sqlteam.com/article/writing-outer-joins-in-t-sql
Go to Top of Page
   

- Advertisement -