MYSQL 某個數據庫下全部表的 批量刪除表語句

select concat('drop table ',table_name,';') from information_schema.TABLES where table_schema='test'; 其中 test 是數據庫, 執行輸出的SQL語句便可web
相關文章
相關標籤/搜索