1.执行sql
SELECT concat('DROP TABLE IF EXISTS ', table_name, ';')
FROM information_schema.tables
WHERE table_schema = 'ye_db1';
2.在执行sql
DROP TABLE IF EXISTS config_codes;
DROP TABLE IF EXISTS cust_10;
DROP TABLE IF EXISTS cust_build_10;
DROP TABLE IF EXISTS cust_cu_serv_10;
DROP TABLE IF EXISTS cust_hourse_10;
DROP TABLE IF EXISTS cust_serv_10;
DROP TABLE IF EXISTS esmp_service;