摘要: 1 数据库不能分离(分离时,老提示占用) --查询数据库得连接Idselect spid from sysprocesses where dbid=db_id('test') kill 61 --这个是上边语句的查询结果 --分离数据库 use master go exec sp_detach_db 阅读全文
posted @ 2021-06-11 21:12 CelonY 阅读(32) 评论(0) 推荐(0) 编辑