Article ID: 141530 - Last Review: March 14, 2005 - Revision: 3.1 INF: Rebuilding the MSDB Database in SQL Server 6.0 and 6.5This article was previously published under Q141530 SUMMARY
In some cases it may be necessary to rebuild the MSDB database that
maintains the task, alert, and operator information for SQL Executive.
After you discuss the situation with a SQL Server support professional, if the MSDB database cannot be reloaded from a backup and does need to be rebuilt from scratch, you should follow the steps below. Note that any existing tasks, alerts, and operators will be lost and will have to be added to the system. Also note that some of the tasks may be associated with replication, and that publisher, distributor, and subscriber information is not held in the MSDB database; you should NOT use this process to remove replication or to terminate a subscription or publication. In the case where it has been determined that any MSDB triggers or stored procedures have been lost or damaged and must be recreated (but the MSDB devices, database, and tables are all reliable), it is safe to re-run the INSTMSDB.SQL script on an existing MSDB database because it will not destroy any data. Be aware that if you re-run INSTMSDB.SQL, the default alerts will be re-installed, and object permissions (which should not have been altered) will be reset. MORE INFORMATION
The steps to rebuild an MSDB database by replacing it are:
Using SQL Enterprise Manager (SEM):
| Article Translations
|

Back to the top
