<?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/"
		>
<channel>
	<title>Comments on: All indexes are unique</title>
	<atom:link href="http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/feed/" rel="self" type="application/rss+xml" />
	<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/</link>
	<description>A discussion on SQL Server</description>
	<lastBuildDate>Mon, 14 May 2012 23:51:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-1383</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Fri, 21 Jan 2011 21:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-1383</guid>
		<description>There are many times that it&#039;s a good thing to have a nonclustered primary key. Main one is when there&#039;s a better place for the clustered index (eg because of access path or data type(s) of the primary key)

Unfortunately there is no simple, always applicable, straightforward answer here.

Just make sure that if the PK is nonclustered, there is a clustered index somewhere else.</description>
		<content:encoded><![CDATA[<p>There are many times that it&#8217;s a good thing to have a nonclustered primary key. Main one is when there&#8217;s a better place for the clustered index (eg because of access path or data type(s) of the primary key)</p>
<p>Unfortunately there is no simple, always applicable, straightforward answer here.</p>
<p>Just make sure that if the PK is nonclustered, there is a clustered index somewhere else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Yarger</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-1381</link>
		<dc:creator>Rich Yarger</dc:creator>
		<pubDate>Fri, 21 Jan 2011 18:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-1381</guid>
		<description>Hello - have been recently reading your posts, and wanted to ask a very rookie-like question...When is it good to use a NonClustered Index on the Primary Key of a table, over a Clustered one?  I am about to deploy a new setup, and went through to verify that the Primary Keys on all of my tables were in fact - Clustered.  They weren&#039;t, and when I asked why the only explanation I got was s shoulder shrug.  These are programmers that put it together.

So needless to say - I changed them all to Clustered Index Primary Keys.  Can you think of a reason or time when it would be a good thing to go with a NonClustered Primary Key?

Thanks and keep up the great work!</description>
		<content:encoded><![CDATA[<p>Hello &#8211; have been recently reading your posts, and wanted to ask a very rookie-like question&#8230;When is it good to use a NonClustered Index on the Primary Key of a table, over a Clustered one?  I am about to deploy a new setup, and went through to verify that the Primary Keys on all of my tables were in fact &#8211; Clustered.  They weren&#8217;t, and when I asked why the only explanation I got was s shoulder shrug.  These are programmers that put it together.</p>
<p>So needless to say &#8211; I changed them all to Clustered Index Primary Keys.  Can you think of a reason or time when it would be a good thing to go with a NonClustered Primary Key?</p>
<p>Thanks and keep up the great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-304</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Fri, 18 Dec 2009 16:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-304</guid>
		<description>It&#039;s in the 2005/2008 documentation as well, if one is willing to read through lots of different topics.</description>
		<content:encoded><![CDATA[<p>It&#8217;s in the 2005/2008 documentation as well, if one is willing to read through lots of different topics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-303</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Fri, 18 Dec 2009 05:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-303</guid>
		<description>Hmmm...

This has been documented in SQL Server 7.0 courseware.</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230;</p>
<p>This has been documented in SQL Server 7.0 courseware.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrico</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-302</link>
		<dc:creator>Henrico</dc:creator>
		<pubDate>Tue, 10 Nov 2009 12:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-302</guid>
		<description>just came across this post, really opened my eyes to indexes (know it sounds very dramatic) :P</description>
		<content:encoded><![CDATA[<p>just came across this post, really opened my eyes to indexes (know it sounds very dramatic) <img src='http://sqlinthewild.co.za/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL Server Uniqueifier Values and the Number of the Beast</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-301</link>
		<dc:creator>SQL Server Uniqueifier Values and the Number of the Beast</dc:creator>
		<pubDate>Fri, 13 Feb 2009 19:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-301</guid>
		<description>[...] Gail Shaw’s post All indexes are unique, reminded me of an interesting piece of trivia I discovered back in SQL Server 7. The error message [...]</description>
		<content:encoded><![CDATA[<p>[...] Gail Shaw’s post All indexes are unique, reminded me of an interesting piece of trivia I discovered back in SQL Server 7. The error message [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Now syndicating Gail Shaw and Kendal Van Dyke &#124; Brent Ozar - SQL Server DBA</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-300</link>
		<dc:creator>Now syndicating Gail Shaw and Kendal Van Dyke &#124; Brent Ozar - SQL Server DBA</dc:creator>
		<pubDate>Tue, 10 Feb 2009 23:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-300</guid>
		<description>[...] All Indexes Are Unique - no, really.</description>
		<content:encoded><![CDATA[<p>[...] All Indexes Are Unique &#8211; no, really.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-299</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Tue, 10 Feb 2009 16:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-299</guid>
		<description>The main intention was to make people think about index structure. So many questions on indexing are simple if the structure if the index is understood.</description>
		<content:encoded><![CDATA[<p>The main intention was to make people think about index structure. So many questions on indexing are simple if the structure if the index is understood.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant Fritchey</title>
		<link>http://sqlinthewild.co.za/index.php/2009/02/09/all-indexes-are-unique/comment-page-1/#comment-298</link>
		<dc:creator>Grant Fritchey</dc:creator>
		<pubDate>Tue, 10 Feb 2009 14:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=209#comment-298</guid>
		<description>That&#039;s a really weird way to think about it, but you know what, it&#039;s utterly true. Well done.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a really weird way to think about it, but you know what, it&#8217;s utterly true. Well done.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

