Difference between revisions of "Delete database"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
DROP DATABASE | DROP DATABASE | ||
− | Related terms: <code>[[sudo -u postgres psql]]</code> | + | Related terms: |
+ | * <code>[[sudo -u postgres psql]]</code> | ||
+ | * <code>[[community.postgresql.postgresql_db_module]], <code>state: [[absent]]</code> | ||
== Related == | == Related == |
Revision as of 20:31, 20 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:
Related
See also
Advertising: