INF: Rebuilding the MSDB Database in SQL Server 6.0 and 6.5ID: Q141530
|
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.
The steps to rebuild an MSDB database by replacing it are:
Using SQL Enterprise Manager (SEM):
Additional query words: sql6 rebuild inst setup winnt
Keywords : kbusage SSrvAdmin
Version : winnt:6.0,6.5
Platform : winnt
Issue type : kbhowto
Last Reviewed: June 30, 1999