摘要: use mastergoif exists(select * from dbo.sysobjects where id = object_id(N'[dbo].[P_KillConnections]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)drop procedure [dbo].[P_KillConnections]GOcreate proc P_KillConnections@dbname varchar(200)asdeclare @sql nvarchar(500)declare @spid nvarch 阅读全文
posted @ 2013-07-18 08:38 走路到纽约 阅读(407) 评论(0) 推荐(0) 编辑