SQL Create Database

SQL Create Database

Basic syntax of CREATE DATABASE statement:

CREATE DATABASE DatabaseName;

Example:

If you want to create new database <Payroll>, then CREATE DATABASE statement would be as follows:

CREATE DATABASE Payroll;

Your database has been created as a name of “Payroll”