Mysql删除某个数据库下全部的表

select concat('drop table ',table_name,';') from information_schema.TABLES where table_schema='test'; 1 其中 test 是数据库,  执行输出的SQL语句便可sql 转自 原文数据库
相关文章
相关标签/搜索