Answers for "drop all tables from postgres"

SQL
7

how to remove tables from postgresql

DROP TABLE IF EXISTS tablename;
Posted by: Guest on August-27-2020
0

how to drop all tables in postgresql

DROP SCHEMA public CASCADE;
CREATE SCHEMA public;

GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO public;
Posted by: Guest on August-03-2021

Code answers related to "drop all tables from postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language