use master go alter database UserInfo set single_user with rollback immediate --将数据库回滚到原始配置状态 go drop database UserInfo
--删除数据库 go
use master go alter database UserInfo set single_user with rollback immediate --将数据库回滚到原始配置状态 go drop database UserInfo
--删除数据库 go