Difference between revisions of "Delete database"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | * https://www.postgresql.org/docs/current/sql-dropdatabase.html | ||
== [[PostgreSQL]] == | == [[PostgreSQL]] == |
Revision as of 16:04, 12 October 2022
PostgreSQL
DROP DATABASE [IF EXISTS] my_database_name;
Do not forget the ;
at the end of the line
DROP DATABASE database_name; Output: DROP DATABASE
Related terms: sudo -u postgres psql
Related
See also
Advertising: