SELECT CONCAT('DROP TABLE ', table_name,';') FROM information_schema.`TABLES` WHERE table_schema='dykj_jyx';   -- dykj_jyx 为数据库名称

 

相关文章: