qew420 (11/25/2014)
My next Maintenance plan is schedule to run in two weeks so I will review the links, articles and scripts you all provided and hopefully come up with a solution before next maintenance planThanks all
Happy Thanks Giving 🙂
What is the backup plan that you have with this?
Also, I agree with the others... using a built in maintenance plan will defrag all of the indexes... whether they need it or not. Most indexes whose first column is based on a column from the table that is ever increasing and immutable will almost never get fragmented just in normal use. That could cover the clustered indexes (which is the table data itself) of some pretty large tables.
--Jeff Moden
Change is inevitable... Change for the better is not.