Check Index Fragmentation on ALL Indexes in a Database

Here is a simple query that will list every index on every table in your database, ordered by the percentage of index fragmentation. This query will work on SQL2K5 or newer.

The output will look like




Facebook Comments Box


Leave a Reply

Your email address will not be published.