Answers for "delete all tables in database 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 "delete all tables in database postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language