如何刪除 PostgreSQL 數據庫中的所有表? - How can I drop all the tables in a PostgreSQL database?

問題:

How can I drop all tables in PostgreSQL, working from the command line?如何從命令行刪除 PostgreSQL 中的所有表?

I don't want to drop the database itself, just all tables and all the data in them.不想刪除數據庫本身,只是所有的表格,並在他們所有的數據。


解決方案:

參考一: https://stackoom.com/question/DxaK
參考二: How can I drop all the tables in a PostgreSQL database?
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章