如何强制删除或恢复SQLServer正在使用的数据库
通常情况睛,SQLServer2000正在使用的数据库(有数据库连接),是不能删除或被恢复的,可以将数据库设置为单用户模式,即可删除:
ALTER DATABASE IpaddrDB SET SINGLE_USER with ROLLBACK IMMEDIATE
GO
DROP DATABASE IpaddrDB
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn