1:删除表
SELECT CONCAT('drop table ',table_name,';') FROM information_schema.`TABLES` WHERE table_schema='test';
2:清除表
SELECT CONCAT('truncate ',table_name,';') FROM information_schema.`TABLES` WHERE table_schema='test';
posted on 2019-01-13 19:38 qiaoli 阅读(84) 评论(0) 编辑 收藏 举报