如何删除 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?
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章