标签:style blog color ar sp 数据 div log bs
1、执行以下sql语句即可删除所有存储过程
--/**********删除所有存储过程*************************/-- use 数据库名 go declare @tname varchar(8000) set @tname=‘‘ select @tname=@tname + Name + ‘,‘ from sysobjects where xtype=‘P‘ --print @tname set @tname=‘ drop Procedure ‘+ + left(@tname,len(@tname)-1) --print @tname exec(@tname)
标签:style blog color ar sp 数据 div log bs
原文地址:http://www.cnblogs.com/chenghu/p/4068998.html