2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/_psql/databases

6 lines
135 B
Plaintext
Raw Normal View History

2018-01-17 16:13:38 +00:00
-- Create a new database
2018-01-07 11:42:08 +00:00
CREATE DATABASE [IF NOT EXISTS] db_name;
2018-01-17 16:13:38 +00:00
-- Delete a database permanently
2018-01-07 11:42:08 +00:00
DROP DATABASE [IF EXISTS] db_name;