摘要: USE masterGOCREATE PROCEDURE killspid( @dbname VARCHAR (20))ASBEGIN DECLARE @SQL nvarchar(500) DECLARE @spid int DECLARE getspid CURSOR FOR SELECT spid FROM sysprocesses WHERE dbid=db_id(@dbname) OPEN... 阅读全文
posted @ 2010-04-10 10:09 Alex.Net 阅读(106) 评论(0) 推荐(0) 编辑