2019年10月11日

批量删除命名有规律的表

摘要: 方法一:正则匹配获取要删除的表,再将执行语句放入文件,然后执行文件select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables where table_name REGEXP '匹配表名的部分字符' an 阅读全文

posted @ 2019-10-11 10:44 凌乱的运维 阅读(264) 评论(0) 推荐(0) 编辑

导航