<?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: Index Defrag Script</title>
	<atom:link href="http://sqlfool.com/2008/10/index-defrag-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://sqlfool.com/2008/10/index-defrag-script/</link>
	<description>Self-Professed SQL Scripting Junkie!</description>
	<lastBuildDate>Fri, 04 May 2012 08:30:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: John</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-5019</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 27 Nov 2009 22:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-5019</guid>
		<description>I ran this script for a specific database.  It completed successfully.  Then I ran it in DETAILED mode (instead of LIMITED mode).  What was strange was that many indexes still have 77% fragmentation or similar to what it was before.  Why are the fragmentation numbers not decreasing?</description>
		<content:encoded><![CDATA[<p>I ran this script for a specific database.  It completed successfully.  Then I ran it in DETAILED mode (instead of LIMITED mode).  What was strange was that many indexes still have 77% fragmentation or similar to what it was before.  Why are the fragmentation numbers not decreasing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omega</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-72</link>
		<dc:creator>Omega</dc:creator>
		<pubDate>Tue, 16 Dec 2008 19:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-72</guid>
		<description>нам что-то похожее препод вчера в универе рассказывал, на самом деле тема интересная</description>
		<content:encoded><![CDATA[<p>нам что-то похожее препод вчера в универе рассказывал, на самом деле тема интересная</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle Ufford</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-69</link>
		<dc:creator>Michelle Ufford</dc:creator>
		<pubDate>Tue, 16 Dec 2008 03:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-69</guid>
		<description>According to iGoogle, that means &quot;I love all your words,&quot; so thank you, Lena! :)</description>
		<content:encoded><![CDATA[<p>According to iGoogle, that means &#8220;I love all your words,&#8221; so thank you, Lena! <img src='http://sqlfool.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lena</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-68</link>
		<dc:creator>Lena</dc:creator>
		<pubDate>Mon, 15 Dec 2008 23:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-68</guid>
		<description>я люблю все ваши слова..</description>
		<content:encoded><![CDATA[<p>я люблю все ваши слова..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-63</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Fri, 12 Dec 2008 23:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-63</guid>
		<description>Add to my Bookmarks ;)</description>
		<content:encoded><![CDATA[<p>Add to my Bookmarks <img src='http://sqlfool.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle Ufford</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-15</link>
		<dc:creator>Michelle Ufford</dc:creator>
		<pubDate>Fri, 14 Nov 2008 22:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-15</guid>
		<description>Hi Chris!  No, you&#039;re not being thick.  There are definitely components that will only work with Enterprise, such as the online and partitioning pieces.  I don&#039;t actually have SQL 2005 Standard installed, so I&#039;ll have to install a copy and work on a Standard version of the defrag script this weekend.  I&#039;ll post the code when I&#039;m done.  :)

Regards,

Michelle</description>
		<content:encoded><![CDATA[<p>Hi Chris!  No, you&#8217;re not being thick.  There are definitely components that will only work with Enterprise, such as the online and partitioning pieces.  I don&#8217;t actually have SQL 2005 Standard installed, so I&#8217;ll have to install a copy and work on a Standard version of the defrag script this weekend.  I&#8217;ll post the code when I&#8217;m done.  <img src='http://sqlfool.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Michelle</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris K</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-14</link>
		<dc:creator>Chris K</dc:creator>
		<pubDate>Fri, 14 Nov 2008 04:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-14</guid>
		<description>Hi Again.  Say, is there any aspect of this that mandates Enterprise? I&#039;ve tried running the script on my SQL Server 2005 Standard (sp2) database, but aside from creating the SP nothing appears to happen. No errors and I get &quot;Command(s) completed successfully.&quot;

Am I just being thick or am I running the wrong version?</description>
		<content:encoded><![CDATA[<p>Hi Again.  Say, is there any aspect of this that mandates Enterprise? I&#8217;ve tried running the script on my SQL Server 2005 Standard (sp2) database, but aside from creating the SP nothing appears to happen. No errors and I get &#8220;Command(s) completed successfully.&#8221;</p>
<p>Am I just being thick or am I running the wrong version?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle Ufford</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-13</link>
		<dc:creator>Michelle Ufford</dc:creator>
		<pubDate>Thu, 13 Nov 2008 15:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-13</guid>
		<description>Thank you, Roger!  I have to agree with you, I&#039;m eager for the day when MERGE-like functionality is also available for stored procedure creation.  But I won&#039;t hold my breath.  :)</description>
		<content:encoded><![CDATA[<p>Thank you, Roger!  I have to agree with you, I&#8217;m eager for the day when MERGE-like functionality is also available for stored procedure creation.  But I won&#8217;t hold my breath.  <img src='http://sqlfool.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-12</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Thu, 13 Nov 2008 08:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-12</guid>
		<description>Michelle ... may I compliment you on producing such a professional script.

This is just to state a forlorn wish that maybe someday soon  MS will make this whole ridiculous Create/Alter problem go away  (pipe dream I know!)</description>
		<content:encoded><![CDATA[<p>Michelle &#8230; may I compliment you on producing such a professional script.</p>
<p>This is just to state a forlorn wish that maybe someday soon  MS will make this whole ridiculous Create/Alter problem go away  (pipe dream I know!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle Ufford</title>
		<link>http://sqlfool.com/2008/10/index-defrag-script/comment-page-1/#comment-7</link>
		<dc:creator>Michelle Ufford</dc:creator>
		<pubDate>Wed, 12 Nov 2008 22:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=63#comment-7</guid>
		<description>Hi Jason,

Great question!  The biggest reason is that I try to avoid executing &quot;DROP PROCEDURE&quot; statements in production.  Some of my stored procedures are called 500,000 to 600,000 times per hour.  With those kinds of volumes, even a sub-second DROP / CREATE process will result in a few dozen errors.  Given my desire to avoid that, it simplifies the deployment process to always prefix my stored procedures with that little piece of code.

Some of my colleagues also use the CREATE / ALTER approach to simplify deployments using PowerShell.  This can be really useful when you&#039;re deploying hundreds of stored procedures.

That said, this obviously isn&#039;t one of those high volume procs, so the code is only there because it&#039;s part of my standard stored procedure template.  It really can easily be replaced with a DROP / CREATE statement, if you prefer.

Thanks for the question!

Regards,

Michelle</description>
		<content:encoded><![CDATA[<p>Hi Jason,</p>
<p>Great question!  The biggest reason is that I try to avoid executing &#8220;DROP PROCEDURE&#8221; statements in production.  Some of my stored procedures are called 500,000 to 600,000 times per hour.  With those kinds of volumes, even a sub-second DROP / CREATE process will result in a few dozen errors.  Given my desire to avoid that, it simplifies the deployment process to always prefix my stored procedures with that little piece of code.</p>
<p>Some of my colleagues also use the CREATE / ALTER approach to simplify deployments using PowerShell.  This can be really useful when you&#8217;re deploying hundreds of stored procedures.</p>
<p>That said, this obviously isn&#8217;t one of those high volume procs, so the code is only there because it&#8217;s part of my standard stored procedure template.  It really can easily be replaced with a DROP / CREATE statement, if you prefer.</p>
<p>Thanks for the question!</p>
<p>Regards,</p>
<p>Michelle</p>
]]></content:encoded>
	</item>
</channel>
</rss>

