标签:
可以设置手动删除 declare @kill varchar(8000) = ‘‘; select @kill=@kill+‘kill ‘+convert(varchar(5),spid)+‘;‘ from master..sysprocesses where dbid=db_id(‘TEST_DBNAME‘); exec (@kill);
设置手动批量删除数据库相关进程
原文地址:http://www.cnblogs.com/DBArtist/p/4661257.html