MySQL删除数据库中的所有表

SELECT CONCAT('drop table ',table_name,';') FROM information_schema.`TABLES` WHERE table_schema='数据库名';

猜你喜欢

转载自blog.csdn.net/weixin_42363997/article/details/84146193
今日推荐