PostgreSQL/Database/Drop Database

Материал из SQL эксперт
Перейти к: навигация, поиск

Drop a DATABASE

postgres=# -- Create Database "bookdown";
postgres=#
postgres=# create database bookdown;
CREATE DATABASE
postgres=#
postgres=# COMMENT ON DATABASE "bookdown" IS "The Book Town Database.";
WARNING:  database comments may only be applied to the current database
COMMENT
postgres=#
postgres=# drop database bookdown;
DROP DATABASE
postgres=#