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

相关文章:

  • 2022-12-23
  • 2021-07-07
  • 2022-01-23
  • 2021-10-14
  • 2021-08-08
  • 2022-12-23
  • 2022-02-08
猜你喜欢
  • 2021-12-26
  • 2022-02-20
  • 2021-05-19
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案