Quantcast
Channel: SQL-Articles » scripts
Viewing all articles
Browse latest Browse all 10

Index fragmentation Report

$
0
0
I had to prepare the list of tables having more than 60% fragmentation. I wrote this query to get those information. The below query will give the list of all the fragmented tables in a particular database having more than 60% fragmentation. This will work for SQL 2005 and beyond. 1: SELECT 2: db_name(ps.database_id) AS […]

Viewing all articles
Browse latest Browse all 10

Trending Articles