SQL Create DataBase

SQL Create DataBase

The CREATE DATABASE Statement is used to create a database in SQL. After creating a database, we can create some other database objects like (tables, views, procedures etc.) into it. The user should have admin privileges for creating database.:

SQL CREATE DATABASE Syntex:

CREATE DATABASE database_name

CREATE DATABASE Example:

If you want to create database demoDB with default collation, the statement would be like this.