Difference between revisions of "Delete database"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
* [[DELETE]] | * [[DELETE]] | ||
* <code>[[CREATE DATABASE]]</code> | * <code>[[CREATE DATABASE]]</code> | ||
+ | * <code>[[\list]]</code> | ||
== See also == | == See also == |
Revision as of 09:28, 26 September 2022
PostgreSQL
DROP DATABASE [IF EXISTS] 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: