X龙@China .Net 'blog

需要的不仅仅是工作,而是通过努力得来的美好将来。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年4月5日

摘要: 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龙 阅读(836) 评论(0) 推荐(0) 编辑

点击这里给我发消息http://wp.qq.com/index.html