Day 23: Detached Errors
“Microsoft recommend that you move databases by using the ALTER DATABASE planned relocation procedure, instead of using detach and attach. ALTER DATABASE (Transact-SQL). “
We cannot detached system databases:
Server: Msg 7940, Level 16, State 1, Line 1
System databases master, model, msdb, and tempdb cannot be detached.
To work on attached/detached msdb/model databases need to enable startup parameter “-c -m -T3608“
also you cannot detached the databases which are in used, and are configured for :
To attach the database you should properly detach the database. And then re-attach on the same server or move the database files and re-attached on a different server.