<?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; Optimization Rules of Thumb &#8211; Best Practices &#8211; Reader&#8217;s Article</title>
	<atom:link href="http://blog.sqlauthority.com/2008/04/26/sql-server-optimization-rules-of-thumb-best-practices-readers-article/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/04/26/sql-server-optimization-rules-of-thumb-best-practices-readers-article/</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: Matt Chatterley</title>
		<link>http://blog.sqlauthority.com/2008/04/26/sql-server-optimization-rules-of-thumb-best-practices-readers-article/#comment-45035</link>
		<dc:creator>Matt Chatterley</dc:creator>
		<pubDate>Tue, 23 Dec 2008 14:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=583#comment-45035</guid>
		<description>Hi,

Some good pointers in the above to get started with - to answer previous question, exists rather than distinct:

SELECT Column
FROM dbo.Table1 T1
WHERE EXISTS 
( SELECT 1 FROM dbo.Table 2 T2 WHERE T2.Column=T1.Column )

Instead of:

SELECT DISTINCT Column FROM dbo.Table1

Assuming a parent/child relationship between T1 and T2 - this doesn&#039;t apply to all cases, of course. If you have duplication in tables which are not part of a parent/child relationship, it is likely that you need to normalize the data further!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Some good pointers in the above to get started with &#8211; to answer previous question, exists rather than distinct:</p>
<p>SELECT Column<br />
FROM dbo.Table1 T1<br />
WHERE EXISTS<br />
( SELECT 1 FROM dbo.Table 2 T2 WHERE T2.Column=T1.Column )</p>
<p>Instead of:</p>
<p>SELECT DISTINCT Column FROM dbo.Table1</p>
<p>Assuming a parent/child relationship between T1 and T2 &#8211; this doesn&#8217;t apply to all cases, of course. If you have duplication in tables which are not part of a parent/child relationship, it is likely that you need to normalize the data further!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamran Shahid</title>
		<link>http://blog.sqlauthority.com/2008/04/26/sql-server-optimization-rules-of-thumb-best-practices-readers-article/#comment-40883</link>
		<dc:creator>Kamran Shahid</dc:creator>
		<pubDate>Mon, 28 Jul 2008 06:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=583#comment-40883</guid>
		<description>How To get distinct record by using Exists rather then Distinct
[&quot;where possible use EXISTS rather than DISTINCT&quot;]</description>
		<content:encoded><![CDATA[<p>How To get distinct record by using Exists rather then Distinct<br />
["where possible use EXISTS rather than DISTINCT"]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tong</title>
		<link>http://blog.sqlauthority.com/2008/04/26/sql-server-optimization-rules-of-thumb-best-practices-readers-article/#comment-39608</link>
		<dc:creator>tong</dc:creator>
		<pubDate>Mon, 30 Jun 2008 19:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=583#comment-39608</guid>
		<description>how to write query can minimize the number of table lookups especially if there are sub-query SELECTs or multicolumn UPDATEs.

thanks,
tong</description>
		<content:encoded><![CDATA[<p>how to write query can minimize the number of table lookups especially if there are sub-query SELECTs or multicolumn UPDATEs.</p>
<p>thanks,<br />
tong</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisber</title>
		<link>http://blog.sqlauthority.com/2008/04/26/sql-server-optimization-rules-of-thumb-best-practices-readers-article/#comment-37397</link>
		<dc:creator>Lisber</dc:creator>
		<pubDate>Fri, 09 May 2008 10:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=583#comment-37397</guid>
		<description>Hello, this is my first comment on this excellent Blog !!!.

One question that i&#039;ve been asking myself lately and related with sql server query performance is:

How can i get only the registries between a certain interval, for example in Mysql i use &#039;LIMIT Start , END&#039; in order to limitate the returning set of values. 

How can i achive a similar behavior on SQL Server 2005 ??

This tip can dramatically improve many aplications that i&#039;m developing right now, thank and keep the good work.</description>
		<content:encoded><![CDATA[<p>Hello, this is my first comment on this excellent Blog !!!.</p>
<p>One question that i&#8217;ve been asking myself lately and related with sql server query performance is:</p>
<p>How can i get only the registries between a certain interval, for example in Mysql i use &#8216;LIMIT Start , END&#8217; in order to limitate the returning set of values. </p>
<p>How can i achive a similar behavior on SQL Server 2005 ??</p>
<p>This tip can dramatically improve many aplications that i&#8217;m developing right now, thank and keep the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Sharma</title>
		<link>http://blog.sqlauthority.com/2008/04/26/sql-server-optimization-rules-of-thumb-best-practices-readers-article/#comment-36775</link>
		<dc:creator>Rahul Sharma</dc:creator>
		<pubDate>Mon, 05 May 2008 06:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=583#comment-36775</guid>
		<description>Nice Explanation</description>
		<content:encoded><![CDATA[<p>Nice Explanation</p>
]]></content:encoded>
	</item>
</channel>
</rss>
