select concat('drop table ',table_name,';') from TABLES where table_schema='数据库名称';
select concat('truncate ',table_name,';') from TABLES where table_schema='数据库名称';
Powered by: 博客园 Copyright © 2024 季枫 Powered by .NET 8.0 on Kubernetes