批量删除数据库表
mysql中批量删除以某个前缀开头的表,没有现成的sql,只能写存储过程,定义如下:
drop procedure if exists drop_tables_like$$delimiter ;
?
参考文章:
? http://dev.mysql.com/doc/refman/5.0/en/drop-table.html??