Hello Folks,
I am looking a SQL Server 2000 script which does the following:
1. I want to run DBCC SHOWCONTIG on all the tables in a database
2. As a parameter I will specify the Scan Density Value...I want to run DBCC INDEXDEFRAG on all the indexes for what Scan Density value is less than that parameter which I have specified.
Can you guys help me with that. I have tried to make that script but I am not getting it right.
Thanks in Advance..
--
Russell Parker