<?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: Alter Index All Tables</title>
	<atom:link href="http://sqlserverplanet.com/dba/alter-index-all-tables/feed" rel="self" type="application/rss+xml" />
	<link>http://sqlserverplanet.com/dba/alter-index-all-tables</link>
	<description>Tips and Articles on SQL Server</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:36:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: David Gage</title>
		<link>http://sqlserverplanet.com/dba/alter-index-all-tables/comment-page-1#comment-729</link>
		<dc:creator>David Gage</dc:creator>
		<pubDate>Tue, 26 Jul 2011 22:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=1466#comment-729</guid>
		<description>Thanks for the very handy script.  One point is that the loop is missing the last table.  If you change &#039;SET @MaxIndex = &#039; to &#039;SET @MaxIndex = 1 + &#039; then you will get all of the tables.</description>
		<content:encoded><![CDATA[<p>Thanks for the very handy script.  One point is that the loop is missing the last table.  If you change &#8216;SET @MaxIndex = &#8216; to &#8216;SET @MaxIndex = 1 + &#8216; then you will get all of the tables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://sqlserverplanet.com/dba/alter-index-all-tables/comment-page-1#comment-691</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 15 Jun 2011 11:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=1466#comment-691</guid>
		<description>Dude &quot;&lt;=&quot;</description>
		<content:encoded><![CDATA[<p>Dude &#8220;&lt;=&quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Dieter</title>
		<link>http://sqlserverplanet.com/dba/alter-index-all-tables/comment-page-1#comment-312</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Mon, 01 Nov 2010 15:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=1466#comment-312</guid>
		<description>Good point, thanks.  I updated the script.

Derek</description>
		<content:encoded><![CDATA[<p>Good point, thanks.  I updated the script.</p>
<p>Derek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William</title>
		<link>http://sqlserverplanet.com/dba/alter-index-all-tables/comment-page-1#comment-311</link>
		<dc:creator>William</dc:creator>
		<pubDate>Mon, 01 Nov 2010 13:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=1466#comment-311</guid>
		<description>I recommend surrounding the table name with brackets.  (I had a table which used a reserved word, and the command produced an error.)

,AlterMe = &#039;ALTER INDEX ALL ON &#039; + t.TABLE_SCHEMA + &#039;.[&#039; + t.TABLE_NAME + &#039;] REBUILD;&#039;</description>
		<content:encoded><![CDATA[<p>I recommend surrounding the table name with brackets.  (I had a table which used a reserved word, and the command produced an error.)</p>
<p>,AlterMe = &#8216;ALTER INDEX ALL ON &#8216; + t.TABLE_SCHEMA + &#8216;.[' + t.TABLE_NAME + '] REBUILD;&#8217;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

