Delete Db Postgres

[Solved] Delete Db Postgres | Shell - Code Explorer | yomemimo.com
Question : postgres remove database

Answered by : augusto-vicente

DROP DATABASE IF EXISTS database_name;

Source : https://www.mysqltutorial.org/mysql-drop-database/#:~:text=DROP%20DATABASE%20%5BIF%20EXISTS%5D%20database_name,use%20the%20IF%20EXISTS%20option. | Last Update : Fri, 11 Sep 20

Question : postgres delete database

Answered by : mathias-haugsb

CREATE DATABASE testdb1;
DROP DATABASE testdb1;

Source : https://www.postgresqltutorial.com/postgresql-drop-database/ | Last Update : Fri, 26 Jun 20

Question : delete db postgres

Answered by : breakable-beaver-qta7l8amzm4q

dropdb 'database name'

Source : https://stackoverflow.com/questions/7073773/postgresql-drop-postgresql-database-through-command-line | Last Update : Sat, 30 Jan 21

Question : drop database using terminal postgres

Answered by : restu-wahyu-saputra

sql -U <user> -c "drop database protodb"

Source : | Last Update : Wed, 11 Nov 20

Answers related to delete db postgres

Code Explorer Popular Question For Shell