先备份,将备份数据库在另一个服务器还原。然后在查询分析器执行select txt from(select 'truncate table '+name as txt,id  from sysobjects where type = 'u'union allselect 'go ' as txt,id+0.5  from sysobjects where type = 'u'               ) as a
order by id得到语句,再将得到的结果执行。