sqlserver-----------删除表结构
use IndividualTax
GO
declare @sql varchar(8000)
while (select count(*) from sysobjects where type='U')>0
begin
SELECT @sql='drop table ' + name
FROM sysobjects
WHERE (type = 'U')
ORDER BY 'drop table ' + name
exec(@sql)
end
sqlserver 删除表结构
猜你喜欢
转载自www.cnblogs.com/zhang-wenbin/p/9963302.html
今日推荐
周排行