Let us say the SQL Server crashed and you are rebuilding the
databases including the master database what procedure to
you follow?
Answers were Sorted based on User's Feedback
Answer / abc
first of all stop the sql services running and then we have
to bring the server in single user mode and by applying the
command sqlserver -m whose exe is located in the directory
C:\Program Files\Microsoft SQL Server\MSSQL\Binn can
rebuild the master database rebuildm (rebuild.exe)command
located at C:\Program Files\Microsoft SQL Server\80
\Tools\Binn directory at cmd prompt.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / guest
For restoring the master db we have to stop the SQL Server
first and then from command line we can type SQLSERVER ?m
which will basically bring it into the maintenance mode
after which we can restore the master db.
| Is This Answer Correct ? | 1 Yes | 1 No |
What does COMMIT command do?
Does a full backup include transaction log?
What is not null constraint?
Why use identity in sql server?
What is a covered index?
What are the different authentication modes in sql server? How can it be changed?
What is the difference between a "where" clause and a "having" clause?
What is the use of DBCC commands?
What is sql stored procedure?
how to determine the service pack currently installed on sql server? : Sql server database administration
Explain DBCC?
What are the different types of join?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)