Tuesday, 19 July 2011

SQL Create DB

The CREATE DATABASE Statement

The CREATE DATABASE statement is used to create a database.

SQL CREATE DATABASE Syntax

CREATE DATABASE database_name


CREATE DATABASE Example

Now we want to create a database called "my_db".
We use the following CREATE DATABASE statement:
CREATE DATABASE my_db
Database tables can be added with the CREATE TABLE statement.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...