摘要: USE master; GO DECLARE @SQL VARCHAR(MAX); SET @SQL='' SELECT @SQL=@SQL+'; KILL '+RTRIM(SPID) FROM master..sysprocesses WHERE dbid=DB_ID('库名'); EXEC(@S 阅读全文
posted @ 2022-08-02 23:15 PrintY 阅读(2354) 评论(0) 推荐(0) 编辑