想查看数据库现有所有表名,并清空临时表,可利用以下命令:

-- 查看Sysbase IQ数据库所有表名
select name
from sysobjects
where type = 'U'
and name like '%temp%'

最后将表名全部 drop 掉即可。

drop table aaa;
drop table bbb;
drop table ccc;

相关文章:

  • 2021-12-17
  • 2021-12-02
  • 2021-10-04
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-01
  • 2021-12-03
  • 2021-12-08
  • 2022-12-23
  • 2022-02-21
  • 2021-06-18
相关资源
相似解决方案