MySQL 批量删除表

时间:2021-05-24 08:59:21   收藏:0   阅读:0

    

 

技术图片

 

 

select concat(‘drop table ‘,table_name,‘;‘) from information_schema.tables where table_schema=‘employees‘ and table_name rlike ‘^d.*$‘ into outfile ‘d:/b.sql‘;

 

技术图片

 

 

 

 

 

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!