在mysql>
select concat( 'drop table ', table_name, '; ')
into outfile 'c:/droptab.sql '
from information_schema.tables;
where table_name like 'cdb_% '
mysql -u root -pxxx <c:/droptab.sql
在mysql>
select concat( 'drop table ', table_name, '; ')
into outfile 'c:/droptab.sql '
from information_schema.tables;
where table_name like 'cdb_% '
mysql -u root -pxxx <c:/droptab.sql