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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outer Join troubles 1

Status
Not open for further replies.
All,

Steve Jones, from SQL Server Central, wrote an interesting article on outer joins causing problems for DBAs last year. I just discovered it this morning. It actually explains quite a few things about why you should sometimes put your WHERE clause filters in the ON clause of the JOIN instead of the WHERE clause.

But only on Outer Joins, not Inner.

Anyway, the link is below. You'll need a free registration with SSC.com to read it, but that's not too hard to get. @=)




Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
That was a good find. Thanks Cat.

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
You're welcome. @=)


Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top