How Do You Rebuild The Master Database In SQL Server 2008?
The master database has several SQL Server 2008 functions. When the database corrupts, some of your stored procedures and programmed functions no longer process properly and you receive errors. You can rebuild the SQL Server master database, and this will repair the faulty database. The database is rebuilt using the Windows command line utility. Click the Windows “Start” button and enter “cmd” into the text box. Press “Enter” to open your command line utility. Type the following command into the command prompt and press “Enter”: cd C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release This points the command prompt to the location of the rebuild executable files. Type the following text into the command line and press “Enter”: Setup.Exe /Action=RebuildDatabase /InstanceName=MSSQLSERVER /SqlSysAdminAccounts=Admin This command rebuilds the database. It may take several minutes to complete. Once it is finished, the command line returns a success message.