mig28mx - Friday, September 1, 2017 8:46 AM
Correct since the use statement is no longer applicable after the exec. I think most of the others have a table for databases and table for indexes that would need to be defragemented. You could use temp tables or static tables that you truncate before processing. Most of how it is set up is in the beginning of those other scripts.
If the vendor recommends something, it's usually best to follow their recommendations.
Sue