摘要: declare @i int declare cur cursor for select spid from sysprocesses where db_name(dbid)= '数据库名' open cur fetch next from cur into @i while @@fetch_sta 阅读全文
posted @ 2019-01-19 18:19 3.25 阅读(336) 评论(0) 推荐(0) 编辑