1 2 3 |
SELECT concat('DROP TABLE IF EXISTS ', table_schema, '.', table_name, ';') FROM information_schema.tables WHERE table_schema = 'dbtest'; |
1 2 3 |
SELECT concat('DROP TABLE IF EXISTS ', table_schema, '.', table_name, ';') FROM information_schema.tables WHERE table_schema = 'dbtest'; |