DBA > Job Interview Questions > Microsoft SQL Server Database Administrator Exam

What is a simple way to detach a database that i

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

What is a simple way to detach a database that is not in use in MS SQL Server?

The simple way to detach a database is to run the following T-SQL command: "EXEC sp_detach_db 'db_name'".

(Continued on next question...)

Other Job Interview Questions