<?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- Differences Between Left Join and Left Outer Join</title>
	<atom:link href="http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Suneet</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-471951</link>
		<dc:creator><![CDATA[Suneet]]></dc:creator>
		<pubDate>Thu, 09 May 2013 12:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-471951</guid>
		<description><![CDATA[Following query respond diffrent on 2005 and 2008 can u explain why?
Thanks in advance.

create table table1(Id int, Name varchar(10))

create table table2(Id int)

insert into table1 values(101, &#039;Test&#039;)
insert into table2 values(101)
insert into table2 values(101)
insert into table2 values(101)

SELECT * FROM (SELECT DISTINCT [Table1].* , ROW_NUMBER() OVER (ORDER BY [Table1].Name) AS RowNumber
FROM [Table1]
LEFT JOIN [Table2] ON [Table1].Id = [Table2].Id) AS TempTable



SELECT * FROM (SELECT DISTINCT [Table1].* , ROW_NUMBER() OVER (ORDER BY [Table1].Name) AS RowNumber
FROM [Table1]
LEFT JOIN [Table2] ON [Table1].Id = [Table2].Id) AS TempTable
WHERE RowNumber BETWEEN 1 AND 10]]></description>
		<content:encoded><![CDATA[<p>Following query respond diffrent on 2005 and 2008 can u explain why?<br />
Thanks in advance.</p>
<p>create table table1(Id int, Name varchar(10))</p>
<p>create table table2(Id int)</p>
<p>insert into table1 values(101, &#8216;Test&#8217;)<br />
insert into table2 values(101)<br />
insert into table2 values(101)<br />
insert into table2 values(101)</p>
<p>SELECT * FROM (SELECT DISTINCT [Table1].* , ROW_NUMBER() OVER (ORDER BY [Table1].Name) AS RowNumber<br />
FROM [Table1]<br />
LEFT JOIN [Table2] ON [Table1].Id = [Table2].Id) AS TempTable</p>
<p>SELECT * FROM (SELECT DISTINCT [Table1].* , ROW_NUMBER() OVER (ORDER BY [Table1].Name) AS RowNumber<br />
FROM [Table1]<br />
LEFT JOIN [Table2] ON [Table1].Id = [Table2].Id) AS TempTable<br />
WHERE RowNumber BETWEEN 1 AND 10</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SAMUDRALA VENKATESH</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-396477</link>
		<dc:creator><![CDATA[SAMUDRALA VENKATESH]]></dc:creator>
		<pubDate>Thu, 20 Dec 2012 08:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-396477</guid>
		<description><![CDATA[Hi Pinal,

I used Left outer join in my SQL query and the execution time was 6 min and for the same query when I removed the &quot;Outer&quot;, the processing time was only 3 min.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I used Left outer join in my SQL query and the execution time was 6 min and for the same query when I removed the &#8220;Outer&#8221;, the processing time was only 3 min.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santha</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-386709</link>
		<dc:creator><![CDATA[Santha]]></dc:creator>
		<pubDate>Tue, 04 Dec 2012 09:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-386709</guid>
		<description><![CDATA[Hi Pinal,
I just came across the following scenario today and wanted to get it clarified from you. I know there is no difference between left and left outer join but however the result set was different in my scenario. Bascially I joined two tables using left outer join (note my select query had isnull in it) result I got was no rows but when I removed the outer from it (used only left join) I got 1 rows with column values as 0. Why is this difference]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
I just came across the following scenario today and wanted to get it clarified from you. I know there is no difference between left and left outer join but however the result set was different in my scenario. Bascially I joined two tables using left outer join (note my select query had isnull in it) result I got was no rows but when I removed the outer from it (used only left join) I got 1 rows with column values as 0. Why is this difference</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-382597</link>
		<dc:creator><![CDATA[George]]></dc:creator>
		<pubDate>Wed, 28 Nov 2012 14:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-382597</guid>
		<description><![CDATA[HI,
My result set differs from 1 to 2 ..Could you please explain me the reason  ?
1)select CASE
 WHEN
            (
                b.col2 = &#039;Y&#039;
            )
then &#039;Y&#039; else &#039;N&#039;
 from TABLE_A a left join TABLE_B b on a.col1=b.col1 ;

2) select CASE
 WHEN
            (
                b.col2 = &#039;Y&#039;
            )
then &#039;Y&#039; else &#039;N&#039;
 from TABLE_A a left join (sel col1,col2 from TABLE_B) b on a.col1=b.col1 ;]]></description>
		<content:encoded><![CDATA[<p>HI,<br />
My result set differs from 1 to 2 ..Could you please explain me the reason  ?<br />
1)select CASE<br />
 WHEN<br />
            (<br />
                b.col2 = &#8216;Y&#8217;<br />
            )<br />
then &#8216;Y&#8217; else &#8216;N&#8217;<br />
 from TABLE_A a left join TABLE_B b on a.col1=b.col1 ;</p>
<p>2) select CASE<br />
 WHEN<br />
            (<br />
                b.col2 = &#8216;Y&#8217;<br />
            )<br />
then &#8216;Y&#8217; else &#8216;N&#8217;<br />
 from TABLE_A a left join (sel col1,col2 from TABLE_B) b on a.col1=b.col1 ;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sagar yeole</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-290405</link>
		<dc:creator><![CDATA[sagar yeole]]></dc:creator>
		<pubDate>Tue, 29 May 2012 11:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-290405</guid>
		<description><![CDATA[THank You]]></description>
		<content:encoded><![CDATA[<p>THank You</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: endy</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-192193</link>
		<dc:creator><![CDATA[endy]]></dc:creator>
		<pubDate>Thu, 10 Nov 2011 10:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-192193</guid>
		<description><![CDATA[[removed word by admin]

Theta join is a join in relational algebra. It&#039;s a join where the join operator can be other than =]]></description>
		<content:encoded><![CDATA[<p>[removed word by admin]</p>
<p>Theta join is a join in relational algebra. It&#8217;s a join where the join operator can be other than =</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-114076</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 25 Jan 2011 09:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-114076</guid>
		<description><![CDATA[No. The word OUTER is optional]]></description>
		<content:encoded><![CDATA[<p>No. The word OUTER is optional</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-114063</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 25 Jan 2011 08:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-114063</guid>
		<description><![CDATA[Refer this post
http://beyondrelational.com/blogs/madhivanan/archive/2008/12/24/null-on-joined-columns.aspx]]></description>
		<content:encoded><![CDATA[<p>Refer this post<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2008/12/24/null-on-joined-columns.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2008/12/24/null-on-joined-columns.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-114061</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 25 Jan 2011 08:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-114061</guid>
		<description><![CDATA[Yes you can swap the tables and get the same result]]></description>
		<content:encoded><![CDATA[<p>Yes you can swap the tables and get the same result</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paras</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-113908</link>
		<dc:creator><![CDATA[Paras]]></dc:creator>
		<pubDate>Mon, 24 Jan 2011 21:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-113908</guid>
		<description><![CDATA[Udaya,
Read the comments in this SQL Server challegene puzzle hosted by Pinal.

http://blog.sqlauthority.com/2010/11/28/sql-server-challenge-puzzle-why-does-right-join-exists/]]></description>
		<content:encoded><![CDATA[<p>Udaya,<br />
Read the comments in this SQL Server challegene puzzle hosted by Pinal.</p>
<p><a href="http://blog.sqlauthority.com/2010/11/28/sql-server-challenge-puzzle-why-does-right-join-exists/" rel="nofollow">http://blog.sqlauthority.com/2010/11/28/sql-server-challenge-puzzle-why-does-right-join-exists/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Udaya</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-113721</link>
		<dc:creator><![CDATA[Udaya]]></dc:creator>
		<pubDate>Mon, 24 Jan 2011 04:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-113721</guid>
		<description><![CDATA[Hi Pinal,

Why do we have Right Outer Join when we have Left  Outer Join. We can swap the tables and get the desired result. Please can you throw some light on this.

Regards,
Uday]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Why do we have Right Outer Join when we have Left  Outer Join. We can swap the tables and get the desired result. Please can you throw some light on this.</p>
<p>Regards,<br />
Uday</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Govil</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-113638</link>
		<dc:creator><![CDATA[Amit Govil]]></dc:creator>
		<pubDate>Sun, 23 Jan 2011 17:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-113638</guid>
		<description><![CDATA[Hi,

Please explain how to handle null values on a column that is being used to join 2 tables?

Thanks,
Amit]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Please explain how to handle null values on a column that is being used to join 2 tables?</p>
<p>Thanks,<br />
Amit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLGuyChuck</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-112968</link>
		<dc:creator><![CDATA[SQLGuyChuck]]></dc:creator>
		<pubDate>Sat, 22 Jan 2011 17:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-112968</guid>
		<description><![CDATA[Theta joins are made up by the interviewer. This is used by many interviewers to make sure you know fact from fiction. You can&#039;t believe everything you read on the net, and this applies to SQL big time!]]></description>
		<content:encoded><![CDATA[<p>Theta joins are made up by the interviewer. This is used by many interviewers to make sure you know fact from fiction. You can&#8217;t believe everything you read on the net, and this applies to SQL big time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobi</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-112806</link>
		<dc:creator><![CDATA[tobi]]></dc:creator>
		<pubDate>Sat, 22 Jan 2011 11:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-112806</guid>
		<description><![CDATA[You surely know how to do SEO ;-)]]></description>
		<content:encoded><![CDATA[<p>You surely know how to do SEO ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Himanshu Patel</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-112776</link>
		<dc:creator><![CDATA[Himanshu Patel]]></dc:creator>
		<pubDate>Sat, 22 Jan 2011 08:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-112776</guid>
		<description><![CDATA[I think LEFT JOIN is ANSI standard and LEFT OUTER JOIN supported in MS SQL]]></description>
		<content:encoded><![CDATA[<p>I think LEFT JOIN is ANSI standard and LEFT OUTER JOIN supported in MS SQL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek Mishra</title>
		<link>http://blog.sqlauthority.com/2011/01/22/sql-server-differences-between-left-join-and-left-outer-join/#comment-112756</link>
		<dc:creator><![CDATA[Abhishek Mishra]]></dc:creator>
		<pubDate>Sat, 22 Jan 2011 06:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11737#comment-112756</guid>
		<description><![CDATA[Hi, Pinal

One of my interview i got qns what is theta join.i read your 
previous blog.i didn&#039;t find about theta join.
could you please tell us something about theta join?]]></description>
		<content:encoded><![CDATA[<p>Hi, Pinal</p>
<p>One of my interview i got qns what is theta join.i read your<br />
previous blog.i didn&#8217;t find about theta join.<br />
could you please tell us something about theta join?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
