Creates a database.
Syntax
CREATE DATABASE name
Description
You cannot use the CREATE DATABASE command in a transaction block.
Parameters
| Parameter | Description |
|---|---|
| name | The name of the database to be created. |
Example
Create a database:
CREATE DATABASE employees;