!!!查询语句
SELECT concat('DROP TABLE IF EXISTS ', table_name, ';')
FROM information_schema.tables
WHERE table_schema = 'zkhk-new';
还可以拼接各种多表语句
!!!查询语句
SELECT concat('DROP TABLE IF EXISTS ', table_name, ';')
FROM information_schema.tables
WHERE table_schema = 'zkhk-new';
还可以拼接各种多表语句