摘要: CREATE PROCEDURE dropProcedure AS declare cur cursor read_only for select name from sysobjects where xtype='p' and name like 'drop%' declare @name varchar(40),@sql varchar(1000) open cur fetch next from cur into @name while (@@fetch_status =0) begin set @sql ='drop Procedure ' 阅读全文
posted @ 2010-06-29 23:54 lixq0203 阅读(304) 评论(0) 推荐(0) 编辑