Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

[Script of May 6] Check SQL Server a specified database index fragmentation percentage (SQL)

$
0
0

Script Download: IndexFragmentation.zip
http://gallery.technet.microsoft.com/scriptcenter/Check-SQL-Server-a-a5758043

This T-SQL sample script illustrates how to check index fragmentation of a specified database in SQL Server.

This script can be used for checking index fragmentation percentage of tables in SQL Server user databases. You can specify the database name and fragmentation percent, after you run the script, you will get the result.

 

imageimage
image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>