删除库中所有的表:
1:进入数据库
use kk222;
2:使用以下命令后,会得到很多删除语句(直接运行得到的删除语句)
select concat('drop table ',table_name,';') from information_schema.TABLES where table_schema='数据库名称';
删除库中所有的表:
1:进入数据库
use kk222;
2:使用以下命令后,会得到很多删除语句(直接运行得到的删除语句)
select concat('drop table ',table_name,';') from information_schema.TABLES where table_schema='数据库名称';