摘要: USE master;GODECLARE @SQL VARCHAR(MAX);SET @SQL=''SELECT @SQL=@SQL+'; KILL '+RTRIM(SPID)FROM sysprocesses WHERE dbid=DB_ID('MobileDB3.1');EXEC(@SQL);GO ALTER DATABASE [MobileDB3.1] SET MULTI_USER; 阅读全文
posted @ 2014-04-08 11:17 Loser0628 阅读(956) 评论(0) 推荐(0) 编辑