Editing Delete database
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
[[DROP DATABASE]] [IF EXISTS] [[my_database_name]][[;]] | [[DROP DATABASE]] [IF EXISTS] [[my_database_name]][[;]] | ||
Do not forget the <code>;</code> at the end of the line | Do not forget the <code>;</code> at the end of the line | ||
− | |||
− | |||
− | |||
− | |||
− | |||
DROP DATABASE database_name; | DROP DATABASE database_name; | ||
Output: | Output: | ||
DROP DATABASE | DROP DATABASE | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Related terms: | Related terms: | ||
Line 25: | Line 14: | ||
== Related == | == Related == | ||
− | * | + | * [[DELETE]] |
− | |||
* <code>[[CREATE DATABASE]]</code> | * <code>[[CREATE DATABASE]]</code> | ||
* <code>[[\list]]</code> | * <code>[[\list]]</code> | ||
* [[PostgreSQL superuser]] | * [[PostgreSQL superuser]] | ||
− | + | [[ALTER DATABASE]] | |
− | + | [[ERROR: must be owner of database]] | |
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: