SQL Swiss Army Knife #7 – Adaptive Index Defrag

Hello all,

Sorry for the inconvenience, but the content of this post moved to the Adaptive Index Defrag post.

Comments (2)

  1. Tom says:

    FYI, so you don't reinvent the wheel, but there's already a very good solution at:


    I've been using this for a few years now without issue.

  2. Pedro Azevedo Lopes says:

    Hello Tom,

    Thank you for your feedback. The script you have indicated is indeed very good, no dispute there.

    The fact is, because I have not found one out there that managed all I needed it to do, like stats update or disctinct ways to deal with partitions, amongst other things, I came up with one of my own and decided to share.