SELECT CONCAT('drop table ',table_name,';') FROM information_schema.`TABLES` WHERE table_schema='carddev';
注:carddev :数据库名称
执行该sql生成批量删除表sql
SELECT CONCAT('drop table ',table_name,';') FROM information_schema.`TABLES` WHERE table_schema='carddev';
注:carddev :数据库名称
执行该sql生成批量删除表sql