文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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.
相关阅读 更多 +
排行榜 更多 +
幣安BNB币行情神器

幣安BNB币行情神器

金融理财 下载
币交所下载无需验证

币交所下载无需验证

金融理财 下载
愤怒的火柴人4中文版下载

愤怒的火柴人4中文版下载

角色扮演 下载