Answers for "drop all tables from database in postgres"

SQL
4

force drop all tables postgres

DROP SCHEMA public CASCADE;
CREATE SCHEMA public;
Posted by: Guest on November-26-2020
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 database in postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language