use DBNAME
go
select 'truncate table ' + name from sysobjects where type ='U'
go[@more@]
go
select 'truncate table ' + name from sysobjects where type ='U'
go[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/224469/viewspace-997580/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/224469/viewspace-997580/