查詢schema下面全部表,並刪除

select * from information_schema.tables where table_schema='public' ;mysql 清空具備外鍵約束的表時報ERROR 1701(42000)的解決sql      ERROR 1701 (42000): Cannot truncate a table referenced in a foreign key constraint (
相關文章
相關標籤/搜索