摘要:
1.搜索出所有表名,构造为一条SQL语句 declare @trun_name varchar(8000)set @trun_name=''select @trun_name=@trun_name + 'truncate table ' + [name] + ' ' from sysobjects where xtype='U' and status > 0exec (@trun_name) 该方... 阅读全文
posted @ 2009-04-05 10:04 X龙 阅读(837) 评论(0) 推荐(0) 编辑