I need to rename the database, but I cannot since other processes is using it. I don’t care about the process, and I need to kill it.
How do I remove all connections from the db?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As per my comment once in
single_usermode you need to do the rename from the same connection. Don’t try and rename it through Object Explorer as that will try and open up a new connection. The following works this end…