1、執行如下語句獲取刪除語句
SELECT CONCAT( 'drop table ', table_name, ';' ) from information_schema.tables where table_schema='數據庫名' and table_type='base table'
2、拷貝語句,然后復制到nvicat進行執行
1、執行如下語句獲取刪除語句
SELECT CONCAT( 'drop table ', table_name, ';' ) from information_schema.tables where table_schema='數據庫名' and table_type='base table'
2、拷貝語句,然后復制到nvicat進行執行
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。