摘要: 删除表EXECUTE sp_msforeachtable 'truncate table ?'删除procdeclare c_1 cursor for select name from sysobjects where xtype= 'P' --遍历游标,创建动态SQL语句,删除存储过程declare @pname nvarchar(100)open c_1fetch next from c_1 ... 阅读全文
posted @ 2010-11-17 11:22 大笑江湖 阅读(503) 评论(0) 推荐(1)