<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; Use Always Outer Join Clause instead of (*= and =*)</title>
	<atom:link href="http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: dilip warade</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-143652</link>
		<dc:creator><![CDATA[dilip warade]]></dc:creator>
		<pubDate>Sat, 25 Jun 2011 11:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-143652</guid>
		<description><![CDATA[Please send me sql 2005 ebook in pdf format]]></description>
		<content:encoded><![CDATA[<p>Please send me sql 2005 ebook in pdf format</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subhash</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-140241</link>
		<dc:creator><![CDATA[Subhash]]></dc:creator>
		<pubDate>Fri, 10 Jun 2011 11:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-140241</guid>
		<description><![CDATA[Hi , This website is good guidence for SQL Learners.]]></description>
		<content:encoded><![CDATA[<p>Hi , This website is good guidence for SQL Learners.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-120935</link>
		<dc:creator><![CDATA[Sandeep]]></dc:creator>
		<pubDate>Sun, 27 Feb 2011 05:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-120935</guid>
		<description><![CDATA[Hi Pinal,

Yesterday I went to an Interview, Interviewer has asked me a strange question where I couldn&#039;t give him perfect answer. Question is here
1. Why do we need to use Left and Right Outer joins? Though you can swap tables name while using any one outer join.
Can you please give me your answer

thanks
Sandeep]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Yesterday I went to an Interview, Interviewer has asked me a strange question where I couldn&#8217;t give him perfect answer. Question is here<br />
1. Why do we need to use Left and Right Outer joins? Though you can swap tables name while using any one outer join.<br />
Can you please give me your answer</p>
<p>thanks<br />
Sandeep</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: falguni Shah</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-61828</link>
		<dc:creator><![CDATA[falguni Shah]]></dc:creator>
		<pubDate>Fri, 26 Feb 2010 10:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-61828</guid>
		<description><![CDATA[Very Constructive Article Sir....]]></description>
		<content:encoded><![CDATA[<p>Very Constructive Article Sir&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrinal</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-56269</link>
		<dc:creator><![CDATA[Mrinal]]></dc:creator>
		<pubDate>Wed, 30 Sep 2009 11:12:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-56269</guid>
		<description><![CDATA[Hi Pinal,

Is there some free tool available on the net that will convert the syntax of *= &amp; =* queries to LEFT &amp; RIGHT OUTER JOIN?
Actually in my Project there are many such occurences where I will have to convert them manually.It will consume my development and testing efforts.Please suggest me if any such tool is available.

Thanks in Advance!!]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Is there some free tool available on the net that will convert the syntax of *= &amp; =* queries to LEFT &amp; RIGHT OUTER JOIN?<br />
Actually in my Project there are many such occurences where I will have to convert them manually.It will consume my development and testing efforts.Please suggest me if any such tool is available.</p>
<p>Thanks in Advance!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Tkatch</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-56087</link>
		<dc:creator><![CDATA[Brian Tkatch]]></dc:creator>
		<pubDate>Wed, 23 Sep 2009 13:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-56087</guid>
		<description><![CDATA[@Pradnya

If you remove the WHERE clause, do you get all of them?]]></description>
		<content:encoded><![CDATA[<p>@Pradnya</p>
<p>If you remove the WHERE clause, do you get all of them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradnya</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-56076</link>
		<dc:creator><![CDATA[Pradnya]]></dc:creator>
		<pubDate>Wed, 23 Sep 2009 05:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-56076</guid>
		<description><![CDATA[select distinct pm.product_name,ps.productid,sum(ps.price)price from product_master  pm
left outer join  productsales ps on ps.productid=pm.product_id
left outer join salesdetail sd on sd.id=ps.salesid



where pm.type=&#039;product&#039; and  DATEPART(YEAR, sd.deliverydate) = &#039;2009&#039;
and  DATEPART(Month, sd.deliverydate) = &#039;1&#039;

group by pm.product_name,ps.productid

I am not getting all productname]]></description>
		<content:encoded><![CDATA[<p>select distinct pm.product_name,ps.productid,sum(ps.price)price from product_master  pm<br />
left outer join  productsales ps on ps.productid=pm.product_id<br />
left outer join salesdetail sd on sd.id=ps.salesid</p>
<p>where pm.type=&#8217;product&#8217; and  DATEPART(YEAR, sd.deliverydate) = &#8217;2009&#8242;<br />
and  DATEPART(Month, sd.deliverydate) = &#8217;1&#8242;</p>
<p>group by pm.product_name,ps.productid</p>
<p>I am not getting all productname</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pradnya</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-56075</link>
		<dc:creator><![CDATA[pradnya]]></dc:creator>
		<pubDate>Wed, 23 Sep 2009 05:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-56075</guid>
		<description><![CDATA[I’m having trouble with an outer join query using SQL Server 2005.

select distinct pm.product_name,ps.productid,sum(ps.price)price from product_master  pm
left outer join  productsales ps on ps.productid=pm.product_id
left outer join salesdetail sd on sd.id=ps.salesid



where pm.type=&#039;product&#039; and  DATEPART(YEAR, sd.deliverydate) = &#039;2009&#039;
and  DATEPART(Month, sd.deliverydate) = &#039;1&#039;

group by pm.product_name,ps.productid

I am not getting all product names
please help me]]></description>
		<content:encoded><![CDATA[<p>I’m having trouble with an outer join query using SQL Server 2005.</p>
<p>select distinct pm.product_name,ps.productid,sum(ps.price)price from product_master  pm<br />
left outer join  productsales ps on ps.productid=pm.product_id<br />
left outer join salesdetail sd on sd.id=ps.salesid</p>
<p>where pm.type=&#8217;product&#8217; and  DATEPART(YEAR, sd.deliverydate) = &#8217;2009&#8242;<br />
and  DATEPART(Month, sd.deliverydate) = &#8217;1&#8242;</p>
<p>group by pm.product_name,ps.productid</p>
<p>I am not getting all product names<br />
please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priya</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-54090</link>
		<dc:creator><![CDATA[priya]]></dc:creator>
		<pubDate>Sat, 25 Jul 2009 16:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-54090</guid>
		<description><![CDATA[can u send me a book for sql server 2005]]></description>
		<content:encoded><![CDATA[<p>can u send me a book for sql server 2005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sri</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-50440</link>
		<dc:creator><![CDATA[Sri]]></dc:creator>
		<pubDate>Fri, 03 Apr 2009 05:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-50440</guid>
		<description><![CDATA[Hi Pinal,

right now we are migrating out application from sql server 2000 to sql server 2005. we got Outer Join (*= and =*) issues and we modified those. Is there any issues other than this when migrating from from sql server 2000 to sql server 2005?

Thanks in advance.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>right now we are migrating out application from sql server 2000 to sql server 2005. we got Outer Join (*= and =*) issues and we modified those. Is there any issues other than this when migrating from from sql server 2000 to sql server 2005?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jackie Chan</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-44269</link>
		<dc:creator><![CDATA[Jackie Chan]]></dc:creator>
		<pubDate>Tue, 18 Nov 2008 16:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-44269</guid>
		<description><![CDATA[Hi Michael,

We&#039;ve came across the similiar situations and we&#039;re able to fix it.  Please try this...

SELECT sum(a.clicks) as clicks, j.linksid, j.location, j.subcategory
FROM aggregatelinkcounts as a
LEFT OUTER JOIN
(select l.linksid, l.sustomersid, s.subcategory, h.location
from l 
	LEFT OUTER JOIN subcategories as s ON l.subcategoryid = s.id
	LEFT OUTER JOIN locations as h ON l.locationsid = h.locationsid  ) as j
ON  a.linkID = j.linksid
WHERE j.customersid = 44
AND a.date &gt;= ‘2007/1/1′
AND a.date &lt;= ‘2008/1/1′
GROUP BY j.linksID, j.subcategory, j.location
ORDER BY j.subcategory, j.location

Good luck.

Jackie]]></description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>We&#8217;ve came across the similiar situations and we&#8217;re able to fix it.  Please try this&#8230;</p>
<p>SELECT sum(a.clicks) as clicks, j.linksid, j.location, j.subcategory<br />
FROM aggregatelinkcounts as a<br />
LEFT OUTER JOIN<br />
(select l.linksid, l.sustomersid, s.subcategory, h.location<br />
from l<br />
	LEFT OUTER JOIN subcategories as s ON l.subcategoryid = s.id<br />
	LEFT OUTER JOIN locations as h ON l.locationsid = h.locationsid  ) as j<br />
ON  a.linkID = j.linksid<br />
WHERE j.customersid = 44<br />
AND a.date &gt;= ‘2007/1/1′<br />
AND a.date &lt;= ‘2008/1/1′<br />
GROUP BY j.linksID, j.subcategory, j.location<br />
ORDER BY j.subcategory, j.location</p>
<p>Good luck.</p>
<p>Jackie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SteveD</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-43595</link>
		<dc:creator><![CDATA[SteveD]]></dc:creator>
		<pubDate>Wed, 08 Oct 2008 13:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-43595</guid>
		<description><![CDATA[IThe outer join syntax is excessively verbose and obfuscates the line between the ‘From’ clause as the ‘Where’ clause. I am hard pressed to believe that the developers at Microsoft could not support both syntaxes. They should restore the *=/=* syntax.]]></description>
		<content:encoded><![CDATA[<p>IThe outer join syntax is excessively verbose and obfuscates the line between the ‘From’ clause as the ‘Where’ clause. I am hard pressed to believe that the developers at Microsoft could not support both syntaxes. They should restore the *=/=* syntax.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cipher</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-42881</link>
		<dc:creator><![CDATA[Cipher]]></dc:creator>
		<pubDate>Wed, 17 Sep 2008 10:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-42881</guid>
		<description><![CDATA[Very nice blog. Keep up the good work Pinal :)]]></description>
		<content:encoded><![CDATA[<p>Very nice blog. Keep up the good work Pinal :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Muller</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-40577</link>
		<dc:creator><![CDATA[Michael Muller]]></dc:creator>
		<pubDate>Mon, 21 Jul 2008 18:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-40577</guid>
		<description><![CDATA[Pinal Dave,

I&#039;m having trouble with an outer join query using SQL Server 2005.

SELECT sum(a.clicks) as clicks, l.linksid, h.location, s.subcategory
FROM aggregatelinkcounts as a
LEFT OUTER JOIN links as l ON a.linkID = l.linksID 
LEFT OUTER JOIN subcategories as s ON s.id = l.subcategoryid
LEFT OUTER JOIN locations as h ON h.locationsid = l.locationsid
WHERE l.customersid = 44
AND a.date &gt;= &#039;2007/1/1&#039;
AND a.date &lt;= &#039;2008/1/1&#039;
GROUP BY l.linksID, s.subcategory, h.location
ORDER BY s.subcategory, h.location


The table Links has more occurrences of linkID than aggregatelinkcounts and so &#039;clicks&#039; should have zeros showing up on those result rows with no inner join.

I understand that SQL 2005 doesn&#039;t do this correctly. Is there a tweak or something I can do to make this query work correctly?]]></description>
		<content:encoded><![CDATA[<p>Pinal Dave,</p>
<p>I&#8217;m having trouble with an outer join query using SQL Server 2005.</p>
<p>SELECT sum(a.clicks) as clicks, l.linksid, h.location, s.subcategory<br />
FROM aggregatelinkcounts as a<br />
LEFT OUTER JOIN links as l ON a.linkID = l.linksID<br />
LEFT OUTER JOIN subcategories as s ON s.id = l.subcategoryid<br />
LEFT OUTER JOIN locations as h ON h.locationsid = l.locationsid<br />
WHERE l.customersid = 44<br />
AND a.date &gt;= &#8217;2007/1/1&#8242;<br />
AND a.date &lt;= &#8217;2008/1/1&#8242;<br />
GROUP BY l.linksID, s.subcategory, h.location<br />
ORDER BY s.subcategory, h.location</p>
<p>The table Links has more occurrences of linkID than aggregatelinkcounts and so &#8216;clicks&#8217; should have zeros showing up on those result rows with no inner join.</p>
<p>I understand that SQL 2005 doesn&#8217;t do this correctly. Is there a tweak or something I can do to make this query work correctly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-39959</link>
		<dc:creator><![CDATA[amit]]></dc:creator>
		<pubDate>Wed, 09 Jul 2008 10:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-39959</guid>
		<description><![CDATA[can you send me a book for sql server 2005]]></description>
		<content:encoded><![CDATA[<p>can you send me a book for sql server 2005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aman Nigam</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-39596</link>
		<dc:creator><![CDATA[Aman Nigam]]></dc:creator>
		<pubDate>Mon, 30 Jun 2008 09:34:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-39596</guid>
		<description><![CDATA[Hi, This Website is veru useful both for beginners and professionals]]></description>
		<content:encoded><![CDATA[<p>Hi, This Website is veru useful both for beginners and professionals</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sekhar</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-38019</link>
		<dc:creator><![CDATA[sekhar]]></dc:creator>
		<pubDate>Wed, 14 May 2008 12:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-38019</guid>
		<description><![CDATA[As I know Higher Version of System always support the Lower versions property. Now In sql server 2k, we use =* or *= , but that is not possible in sql server 2005.
Then we have so many programs that runs on 2000 and Now we are upgrading the server into 2005..
what will be happen?]]></description>
		<content:encoded><![CDATA[<p>As I know Higher Version of System always support the Lower versions property. Now In sql server 2k, we use =* or *= , but that is not possible in sql server 2005.<br />
Then we have so many programs that runs on 2000 and Now we are upgrading the server into 2005..<br />
what will be happen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jitendra v patil</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-35049</link>
		<dc:creator><![CDATA[jitendra v patil]]></dc:creator>
		<pubDate>Mon, 14 Apr 2008 08:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-35049</guid>
		<description><![CDATA[hi pinal i am using sql server 2005 express edition and i have two tables having totally different coloumn names and no primary key or foreign key in any of the coloumns of both the table so how can i join both the tables. plz help me its urgent plz...]]></description>
		<content:encoded><![CDATA[<p>hi pinal i am using sql server 2005 express edition and i have two tables having totally different coloumn names and no primary key or foreign key in any of the coloumns of both the table so how can i join both the tables. plz help me its urgent plz&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nisha.V.Krishnan</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-26827</link>
		<dc:creator><![CDATA[Nisha.V.Krishnan]]></dc:creator>
		<pubDate>Tue, 18 Dec 2007 11:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-26827</guid>
		<description><![CDATA[This Web site is quite simple..Every one can easily gain knowledge about SQL.]]></description>
		<content:encoded><![CDATA[<p>This Web site is quite simple..Every one can easily gain knowledge about SQL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya Chawla</title>
		<link>http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-12452</link>
		<dc:creator><![CDATA[Aditya Chawla]]></dc:creator>
		<pubDate>Fri, 14 Sep 2007 03:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/27/sql-server-2005-use-always-outer-join-clause-instead-of-and/#comment-12452</guid>
		<description><![CDATA[Hi this good website to assistance sql]]></description>
		<content:encoded><![CDATA[<p>Hi this good website to assistance sql</p>
]]></content:encoded>
	</item>
</channel>
</rss>

