SQL CREATE DATABASE Command

Here you will get a create database command to create a new SQL database.

The SQL CREATE DATABASE Statement

The CREATE DATABASE statement is used to create a new SQL database.

Syntax

CREATE DATABASE databasename;

CREATE DATABASE Example

The following SQL statement creates a database called "testDB":

Example 1

CREATE DATABASE testDB;

Example 2

CREATE DATABASE myDB;

Example 1

CREATE DATABASE employees;


Comments