Switch to: V12V11V10V9V8V7V6V5

CREATE DATABASE

The CREATE DATABASE statement is used to create on a Valentina Server new database with the specified name.

Syntax

CREATE DATABASE [IF NOT EXISTS] db_name

Arguments

IF NOT EXISTS

The IF NOT EXISTS option allows you supress the error message in case if such database already exists.

NOTE: 'IF NOT EXISTS' syntax Valentina have take from mySQL world.

db_name

The name for a new database.

Notes

This command requires the admin privileges.

Examples

CREATE DATABASE people