Even though nothing is using it I am unable to detach a database because it is use.
Cannot detach the database 'DEMO' because it is currently in use.
I have tried rebooting and get the same message.
|
Even though nothing is using it I am unable to detach a database because it is use.
I have tried rebooting and get the same message. |
|||
|
|
|
|||
|
|
|
Have you tried checking the "Drop Connections" box when you detach it? |
|||||||
|
|
This command should drop all connections, then allow you to detach. ALTER DATABASE SET SINGLE_USER WITH ROLLBACK_IMMEDIATE |
|||
|
|