SQL CREATE DATABASE Statement

SQL CREATE DATABASE Statement

The CREATE DATABASE statement in SQL (Structured Query Language) is used to create a database.


Syntax for CREATE DATABASE in SQL

CREATE DATABASE database_name;

Here database_name is the name of the database.

Example

Below is the example for CREATE DATABASE Statement in SQL

CREATE DATABASE StudentInformation;

This statement creates a database named StudentInformation.


SQL Tables will be created to store the data for the database.







SHARE
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment