Mysql刪除某個數據庫下全部的表

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