摘要:
declare @sqlcmd varchar(4000) set @sqlcmd = '' select @sqlcmd = @sqlcmd + 'delete from ' + name + char(10) from sysobjects where type = 'U' --exec (@sqlcmd) print @sqlcmd --or use 'truncate table ' command 阅读全文
posted @ 2009-09-02 11:21 新人~ 阅读(437) 评论(0) 推荐(0) 编辑