SQL Create Database Example

CREATE DATABASE command is used to create a user defined database.

The following is the example for create database in SQL

sql> CREATE DATABASE demodb;

Output :

Database created successfully

1 row(s) effected