Return to Snippet

Revision: 30787
at August 22, 2010 06:10 by axolx


Updated Code
-- Simple create
CREATE DATABASE dbname WITH OWNER dbowner ENCODING='UNICODE';

-- Create from a template
CREATE DATABASE dbname WITH OWNER dbowner ENCODING='UNICODE' TEMPLATE=sourcedb;

Revision: 30786
at August 22, 2010 06:09 by axolx


Updated Code
-- Simple create
CREATE DATABASE dbname WITH OWNER dbowner ENCODING='UNICODE';

-- Create from a template
CREATE DATABASE dbname WITH OWNER dbowner ENCODING='UNICODE' TEMPLATE='sourcedb';

Revision: 30785
at August 22, 2010 06:08 by axolx


Initial Code
CREATE DATABASE dbname WITH OWNER dbowner ENCODING='UNICODE';

Initial URL

                                

Initial Description

                                

Initial Title
Create database in PostgreSQL

Initial Tags

                                

Initial Language
SQL