use 数据库 declare @tname varchar(8000) set @tname='' select @tname=@tname + Name + ',' from sysobjects where xtype='P' select @tname='drop Procedure ' + left(@tname,len(@tname)-1) exec(@tname)