Here's a nice and small script which scripts reindex statements for all the indexes on the User tables. The script is flexible enough to allow the user to specify the Fillfactor for the indexes and also to specify the owner of the tables to be reindexed. The script has been tested on SQL Server 7.0.
Please read the script notes given inside the script.
Author: Sumit Dhingra
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
"as -is", without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose...
Back to Database Journal Home