天天看点

MySQL批量删除指定前缀表

Select CONCAT( 'drop table ', table_name, ';' )  

FROM information_schema.tables  

Where table_name LIKE 'dede_%';

     本文转自aaron428 51CTO博客,原文链接http://blog.51cto.com/aaronsa/1741505:,如需转载请自行联系原作者

继续阅读