Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Databases General > Re: rewriting L...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 3144 of 3295
Post > Topic >>

Re: rewriting LEFT JOINs as RIGHT JOINs

by "Roy Hann" <specially@[EMAIL PROTECTED] > Apr 24, 2008 at 12:02 PM

"Harry Skelton" <skelton.harry@[EMAIL PROTECTED]
> wrote in message 
news:480a17e5$0$22078$6e1ede2f@[EMAIL PROTECTED]
> yawnmoth wrote:
>> Out of curiosity, can every LEFT JOIN be rewritten as a query with
>> RIGHT JOINs?  It seems to me that if you just take the "leftmost"
>> table and use that in the FROM part of a SELECT that all subsequent
>> LEFT JOINs would need to be RIGHT JOINs...
>
> LEFT and RIGHT joins dictate precedence of the tables/queries.  You
could 
> do it either way, but what data you get back will be different. If you
do 
> as you say, it is not merely changing the LEFT to a RIGHT, you are 
> changing the entire SQL query.  This can cause unforeseen problems,
[...] 
> are actually returned.

Total nonsense.

R.
 




 6 Posts in Topic:
rewriting LEFT JOINs as RIGHT JOINs
yawnmoth <terra1024@[E  2008-04-19 07:10:48 
Re: rewriting LEFT JOINs as RIGHT JOINs
Harry Skelton <skelton  2008-04-19 12:03:50 
Re: rewriting LEFT JOINs as RIGHT JOINs
"Roy Hann" <  2008-04-24 12:02:39 
Re: rewriting LEFT JOINs as RIGHT JOINs
"David Cressey"  2008-04-24 11:43:57 
Re: rewriting LEFT JOINs as RIGHT JOINs
"Roy Hann" <  2008-04-25 06:03:54 
Re: rewriting LEFT JOINs as RIGHT JOINs
--CELKO-- <jcelko212@[  2008-04-22 13:13:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 9:37:32 CST 2008.