删除某个数据库下所有表

1、SELECT CONCAT('drop table ',table_name,';') FROM information_schema.`TABLES` WHERE table_schema='数据库名',拼出所有表的删除语句;

2、执行生成的语句

原文地址:https://www.cnblogs.com/luchangzhu/p/14716970.html