<?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; Simulate INNER JOIN using LEFT JOIN statement &#8211; Performance Analysis</title>
	<atom:link href="http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ashish Rajbanshi</title>
		<link>http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/#comment-55206</link>
		<dc:creator>Ashish Rajbanshi</dc:creator>
		<pubDate>Tue, 25 Aug 2009 23:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1426#comment-55206</guid>
		<description>does anyone know how to do the reverse? i.e. simulate left join using inner join?</description>
		<content:encoded><![CDATA[<p>does anyone know how to do the reverse? i.e. simulate left join using inner join?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/#comment-52186</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Fri, 22 May 2009 05:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1426#comment-52186</guid>
		<description>@ Prem, 

What do you mean by client system ?

In which format do you need to send data to client system. 

If you want to provide data into excel or csv file, then try doing bcp, osql, dts or openquery. All these techniques are used to get data out of sql server in a desired form as you want. 

It really does not matter if you want data from one table or multiple table, as long as you have script/query to populate data out of your sql database. 

If this post does not answer your question, Please provide more info and please state your question clearly.

~ IM.</description>
		<content:encoded><![CDATA[<p>@ Prem, </p>
<p>What do you mean by client system ?</p>
<p>In which format do you need to send data to client system. </p>
<p>If you want to provide data into excel or csv file, then try doing bcp, osql, dts or openquery. All these techniques are used to get data out of sql server in a desired form as you want. </p>
<p>It really does not matter if you want data from one table or multiple table, as long as you have script/query to populate data out of your sql database. </p>
<p>If this post does not answer your question, Please provide more info and please state your question clearly.</p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prem</title>
		<link>http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/#comment-52185</link>
		<dc:creator>Prem</dc:creator>
		<pubDate>Fri, 22 May 2009 03:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1426#comment-52185</guid>
		<description>Hi Pinal,

Your blog regarding SQL server is Excellent.
I have a samll Issue, i need to migrate data from 
Server to client system, Whether it may be a single table data or mulitple tables.
Please look into this and do favour

Regards
Prem</description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Your blog regarding SQL server is Excellent.<br />
I have a samll Issue, i need to migrate data from<br />
Server to client system, Whether it may be a single table data or mulitple tables.<br />
Please look into this and do favour</p>
<p>Regards<br />
Prem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: *tc</title>
		<link>http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/#comment-44189</link>
		<dc:creator>*tc</dc:creator>
		<pubDate>Wed, 12 Nov 2008 22:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1426#comment-44189</guid>
		<description>I often use, &quot;WHERE 1 = 1&quot; just for convenience in adding or subtracting ANDs in a where clause. 

That said, I also see no reason for esoteric questions like this in an interview. 

Furthermore, while I agree that the Query Optimizer Engine helps to make less optimal queries run more optimally, it also enables bad coding practices. What happens if someone tries to port the same bad code to, heaven forbid, Oracle?

Sloppy coders also tend not to look at query plans.

I&#039;m just sayin&#039; ... *tc</description>
		<content:encoded><![CDATA[<p>I often use, &#8220;WHERE 1 = 1&#8243; just for convenience in adding or subtracting ANDs in a where clause. </p>
<p>That said, I also see no reason for esoteric questions like this in an interview. </p>
<p>Furthermore, while I agree that the Query Optimizer Engine helps to make less optimal queries run more optimally, it also enables bad coding practices. What happens if someone tries to port the same bad code to, heaven forbid, Oracle?</p>
<p>Sloppy coders also tend not to look at query plans.</p>
<p>I&#8217;m just sayin&#8217; &#8230; *tc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/#comment-43955</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 29 Oct 2008 07:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1426#comment-43955</guid>
		<description>Agree with Wes - why would you possibly want to simulate an inner join with an outer join?</description>
		<content:encoded><![CDATA[<p>Agree with Wes &#8211; why would you possibly want to simulate an inner join with an outer join?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes Brown</title>
		<link>http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/#comment-43920</link>
		<dc:creator>Wes Brown</dc:creator>
		<pubDate>Mon, 27 Oct 2008 01:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1426#comment-43920</guid>
		<description>While this is an interesting quirk of Sql Server I cannot imagine how it would be a useful question for an interview.  What does it demonstrate other than a knowledge of useless sql constructs?</description>
		<content:encoded><![CDATA[<p>While this is an interesting quirk of Sql Server I cannot imagine how it would be a useful question for an interview.  What does it demonstrate other than a knowledge of useless sql constructs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli Gassert</title>
		<link>http://blog.sqlauthority.com/2008/10/25/sql-server-simulate-inner-join-using-left-join-statement-performance-analysis/#comment-43908</link>
		<dc:creator>Eli Gassert</dc:creator>
		<pubDate>Sat, 25 Oct 2008 13:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1426#comment-43908</guid>
		<description>You can also use the same join clause and have your where be piy.ProductID IS NOT NULL

I&#039;d be interested in knowing what the plan looks like for your SQL statement.  Also, try doing the same JOINs on fields that aren&#039;t indexes (like, say, product name, or product price) and see if you can get different results.

In more complicated situations, I&#039;ve had to do similar things and had less success with the optimizer &quot;figuring out&quot; that it could do a cross join with inner join, so I&#039;d be interested in hearing how the above tests play out in your test environment.

Cheers
 -eli</description>
		<content:encoded><![CDATA[<p>You can also use the same join clause and have your where be piy.ProductID IS NOT NULL</p>
<p>I&#8217;d be interested in knowing what the plan looks like for your SQL statement.  Also, try doing the same JOINs on fields that aren&#8217;t indexes (like, say, product name, or product price) and see if you can get different results.</p>
<p>In more complicated situations, I&#8217;ve had to do similar things and had less success with the optimizer &#8220;figuring out&#8221; that it could do a cross join with inner join, so I&#8217;d be interested in hearing how the above tests play out in your test environment.</p>
<p>Cheers<br />
 -eli</p>
]]></content:encoded>
	</item>
</channel>
</rss>
