Difference between revisions of "Delete database"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
* <code>[[\list]]</code> | * <code>[[\list]]</code> | ||
* [[PostgreSQL superuser]] | * [[PostgreSQL superuser]] | ||
+ | [[ALTER DATABASE]] | ||
[[ERROR: must be owner of database]] | [[ERROR: must be owner of database]] | ||
Revision as of 15:12, 18 November 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:
Related
ALTER DATABASE ERROR: must be owner of database
See also
Advertising: