首页 > 代码库 > mysql记录

mysql记录

批量删除数据库表

Select CONCAT( ‘drop table ‘, table_name, ‘;‘ ) 
FROM information_schema.tables 
where  table_schema=‘数据库名称‘ 
/*条件*/
and table_name not in(select Code as table_name from FW_Table)

  

mysql记录