SQL Server: Script to find Index Average Fragmentation in Percentage

In this post, I am sharing a T-SQL script to find an average percentage of index fragmentation in SQL Server. When we are not getting the desired performance of the index, we should check the average percentage of Index Fragmentation. The non-clustered index data stores into different pages, so there is always a chance of … Continue reading SQL Server: Script to find Index Average Fragmentation in Percentage