<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ALTER INDEX on SQL Server Scripts</title><link>https://www.sqlserver70.com/tags/alter-index/</link><description>Recent content in ALTER INDEX on SQL Server Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>SQLServer70.com</copyright><lastBuildDate>Wed, 03 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.sqlserver70.com/tags/alter-index/index.xml" rel="self" type="application/rss+xml"/><item><title>DBCC DBREINDEX vs ALTER INDEX REBUILD in SQL Server</title><link>https://www.sqlserver70.com/post/sql-server-dbcc-dbreindex-vs-alter-index-rebuild/</link><pubDate>Wed, 03 Jun 2026 00:00:00 +0000</pubDate><guid>https://www.sqlserver70.com/post/sql-server-dbcc-dbreindex-vs-alter-index-rebuild/</guid><description>
&lt;p&gt;Open the SQL Agent job history on an instance that has been running for a decade and you will still find &lt;code&gt;DBCC DBREINDEX&lt;/code&gt; in a nightly maintenance step, quietly doing its job. It works — which is exactly why nobody has touched it. But it has been deprecated for the better part of twenty years, it locks tables it does not need to lock, and it cannot do the things modern index maintenance takes for granted. This post compares it to its replacement and shows the one-afternoon migration to &lt;code&gt;ALTER INDEX&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>