<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'SQL Programming' and 'Automation'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=SQL+Programming,Automation&amp;orTags=0</link><description>Search results matching tags 'SQL Programming' and 'Automation'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Database Maintenance Scripting Done Right</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2011/02/18/database-maintenance-scripting-done-right.aspx</link><pubDate>Fri, 18 Feb 2011 13:16:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:33607</guid><dc:creator>KKline</dc:creator><description>&lt;br&gt;I first wrote about useful database maintenance scripts on my&lt;a href="http://sqlblog.com/blogs/kevin_kline/archive/2008/03/26/more-sql-server-automation-scripts.aspx" title="Mad skillz in Mad scriptz" target="_blank"&gt; SQLBlog account&lt;/a&gt; way back in 2008.  Hmmm - now that I think about it, I first wrote about my own useful database maintenance scripts in a journal called SQL Server Professional back in the mid-1990's on SQL Server v6.5 or some such.  But I digress...

&lt;a href="http://KevinEKline.com"&gt;&lt;img src="http://www.binbin.net/photos/everythingplay/mov/movie-script-note-book.jpg" title="Script" alt="" height="247" width="247"&gt;&lt;/a&gt;

Anyway, I pointed out a couple useful sites where you could get some good scripts that would take care of preventative maintenance on your SQL Server, such as index defragmentation, updating statistics, and so forth.  One of the script kits came directly from Microsoft's internal database management team.  But, alas, they haven't published any updates in quite a while.  On the other hand, the other set of scripts came from Ola Hallengren, who has done a great job keeping his scripts up to date.

Recently, Ola added support for updating column statistics, both in a generalized update and also updates for only those columns whose statistics have been modified.  He's added some other goodies to the latest release, which you can read about here, &lt;a href="http://ola.hallengren.com/Versions.html"&gt;http://ola.hallengren.com/Versions.html&lt;/a&gt; for all details.

In addition, I'd like to remind you of the white paper I wrote a while back called &lt;a href="http://www.quest.com/documents/landing.aspx?id=10931" title="Free, but registration is required" target="_blank"&gt;&lt;em&gt;Automating DBA Processes&lt;/em&gt;&lt;/a&gt;, which covers many aspects of database automation and cherry picks some of the best practices from many different thought leaders, such as Ola, Michelle Ufford &lt;a href="http://sqlfool.com/" target="_blank"&gt;(&lt;/a&gt;&lt;a href="http://sqlfool.com/"&gt;blog&lt;/a&gt; | @&lt;a href="http://twitter.com/sqlfool"&gt;sqlfool&lt;/a&gt;) who will be speaking at the &lt;a href="http://www.sqlpass.org/24hours/Spring2011/default.aspx" title="Celebrating Women in Technology with an all-female speaker line up!" target="_blank"&gt;24HOP &lt;/a&gt;soon, and Allen White (&lt;a href="http://sqlblog.com/blogs/allen_white/archive/tags/PowerShell/default.aspx" target="_blank"&gt;blog&lt;/a&gt; | &lt;a href="http://twitter.com/sqlrunr"&gt;twitter&lt;/a&gt;).</description></item></channel></rss>