MySQL:按后缀缀批量删除表格

Select CONCAT( 'drop table ', table_name, ';' )
FROM information_schema.tables
Where table_schema='socialnetwork' and table_name LIKE 'zeai_lovebhistory%';

posted on 2018-01-05 14:47  小帅豹  阅读(428)  评论(0编辑  收藏  举报