admin
CREATE DATABASE
Creates a database, normally by copying a template. Requires CREATEDB or superuser and cannot run in a transaction block.
Formal Syntax & Structure
sql syntaxsql
CREATE DATABASE bm_lab_db;Working Example
Example Snippetsql
-- Disposable PostgreSQL lab only; see LAB.md.CREATE DATABASE bm_lab_db;