select concat('drop table ',table_name,';') from TABLES where table_schema='数据库名称';

select concat('truncate ',table_name,';') from TABLES where table_schema='数据库名称';


相关文章:

  • 2022-12-23
  • 2021-09-08
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2021-08-18
  • 2021-08-18
  • 2021-10-16
  • 2021-08-17
相关资源
相似解决方案