文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Delete single user mode SQL server DB

Delete single user mode SQL server DB

时间:2011-06-13  来源:水瓶的坚持

1. Use TSQL below to find all the database sesions connected to this database.

select d.name, d.dbid, spid, login_time, nt_domain, nt_username, loginame
from sysprocesses p inner join sysdatabases d on p.dbid = d.dbid
where d.name = 'TestDB_1'
go

2. Kill the particular session(s) with the 'kill’ command.

kill 51

3. Delte the DB.
相关阅读 更多 +
排行榜 更多 +
进击的小动物安卓版

进击的小动物安卓版

飞行射击 下载
进攻yalghaar

进攻yalghaar

飞行射击 下载
深空战场

深空战场

飞行射击 下载