﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Grant Fritchey / Article Discussions / Article Discussions by Author  / 2005 Clean Indexes For All Databases on a Server / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 23:54:37 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: 2005 Clean Indexes For All Databases on a Server</title><link>http://www.sqlservercentral.com/Forums/Topic401633-217-1.aspx</link><description>Good work Grant. You could probably tune a little bit more for example specifying the page_count limit in the clause and modify the line fromSELECT @command = ''ALTER INDEX '' + @indexname + '' ON ?.'' + @schemaname + ''.'' + @objectname + '' REORGANIZE'';toSELECT @command = ''ALTER INDEX ['' + @indexname + ''] ON ?.['' + @schemaname + ''].['' + @objectname + ''] REORGANIZE'';Same for rebuild..Thanks again - will probably use this at some point</description><pubDate>Wed, 02 Mar 2011 03:00:22 GMT</pubDate><dc:creator>Mr. Holio</dc:creator></item><item><title>2005 Clean Indexes For All Databases on a Server</title><link>http://www.sqlservercentral.com/Forums/Topic401633-217-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Index+Management/31911/"&gt;2005 Clean Indexes For All Databases on a Server&lt;/A&gt;[/B]</description><pubDate>Sun, 23 Sep 2007 10:59:34 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item></channel></rss>