Lists fragmented tables for all user databases. It calls the sp_get_dnsty stored procedure (make sure you get both from the links above. NOTE: to run under 7.0, just change datatype to ‘sysname’ on @obj_name, @ind_name and @owner. As-is, these are meant for 6.5.
Author: Tanya Stolyar
Download Script:
sp_frag_report.sql
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…
Disclaimer Continued
Back to Database Journal Home