如何在sql server中断开用户与数据库的连接 [英] how to disconnect users from a database in sql server

查看:892
本文介绍了如何在sql server中断开用户与数据库的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多数据库在同一时刻。那么如何断开其中一个?

i have many database the same instant. So how to disconnect one of them ?

推荐答案

尝试分离 [ ^ ]



右键单击数据库名称,指向任务,然后单击分离(在sql server management studio中)
try Detach[^]

Right-click the database name, point to Tasks, and then click Detach.(in sql server management studio)


这篇关于如何在sql server中断开用户与数据库的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆