摘要: SELECT concat('DROP TABLE IF EXISTS ', table_name, ';')FROM information_schema.tablesWHERE table_schema = 'mydb';mydb换成你想删除的数据库的名字这样可以生成一个批量处理的sql语句,你 阅读全文
posted @ 2018-02-26 09:27 iceman! 阅读(438) 评论(0) 推荐(0) 编辑