This SQL Server 7.0 script will scan through your databases and tables running all the standard maintenance. It places your databases in single user mode (optional) then runs allocation, database and catalog checks. It’s the perfect script if you have developers that are adding tables to your system without telling you. Best to run this script late. I run this query at night and pipe it to a text file for email in the morning.
Author: Brian Knight
Download Script:
sp_checkall70.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