How to drop all tables in postgreSQL
how to drop all tables in postgreSQL but I don't want to drop table using command line
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Mar 9, 2021, 1:19 AM EST
Sagar LadRank #523 · 4.7K reputationPosted Aug 26, 2021, 3:02 PM EDT
DROP SCHEMA public CASCADE; CREATE SCHEMA public;