Difference between revisions of "Delete database"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
== [[PostgreSQL]] == | == [[PostgreSQL]] == | ||
[[DROP DATABASE]] [IF EXISTS] database_name; | [[DROP DATABASE]] [IF EXISTS] database_name; | ||
+ | |||
+ | |||
DROP DATABASE database_name; | DROP DATABASE database_name; | ||
+ | Output: | ||
+ | DROP DATABASE | ||
Related terms: <code>[[sudo -u postgres psql]]</code> | Related terms: <code>[[sudo -u postgres psql]]</code> |
Revision as of 09:26, 26 September 2022
PostgreSQL
DROP DATABASE [IF EXISTS] database_name;
DROP DATABASE database_name; Output: DROP DATABASE
Related terms: sudo -u postgres psql
Related
See also
Advertising: