codescracker


sql

SQL Create Database



« Previous Tutorial Next Tutorial »


SQL CREATE DATABASE statement is basically used to create a new database. Here is the general form to use CREATE DATABASE statement in SQL to create a new database:

CREATE DATABASE dbname;

Here, dbname is the name of the new database which you are going to create.

SQL CREATE DATABASE Example

Here is an example of SQL CREATE DATABASE statement. This SQL statement creates a new database named "my_db"

CREATE DATABASE my_db;

« Previous Tutorial Next Tutorial »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test