cdm33.com (7/30/2014)
SQLRNNR,This code has hundreds of lines to it. I've got no clue what it does. I'm not going to put something like this on a production server not knowing what it does.
THanks anyway.
I agree with you that putting an unknown script on a production server is never a good idea.
However there are some very well known scripts around that have gained great popularity throughout the years, such as Adam Machanic's sp_WhoIsActive or Ola Hallengren's maintenance solution.
If you prefer, Ola's solution contains a script for consistency check and his script is much more "famous" and widely used than mine.
Ciao
Gianluca
-- Gianluca Sartori