Rebuild master Utility

Command Prompt Utilities

Command Prompt Utilities

Rebuild master Utility

The Rebuild master (rebuildm) utility can be used to change the collation settings for an instance of Microsoft® SQL Server™ 2000, or to fix a corrupted master database.

Syntax

rebuildm

Remarks

Before you run the Rebuild master utility, make sure you have one of these two items:

  • The scripts to rebuild the database objects and a backup to reload the data.

  • The data and log files to use with sp_attach_db.

Rebuilding the master database removes all database objects and data. After rebuilding the master database, re-create the database objects and reload the data, or reattach the data and log files using sp_attach_db.

For information about where to find or how to run this utility, see Getting Started with Command Prompt Utilities.

See Also

How to rebuild the master database (Rebuild Master utility)