SHOW-CREATE-DATABASE
Name
SHOW CREATE DATABASE
Description
This statement checks the creation of the doris database.
grammar:
1. SHOW CREATE DATABASE db_name;
illustrate:
db_name: The name of the database where doris exists.
Example
- View the creation of the test database in doris
1. mysql> SHOW CREATE DATABASE test;
2. +----------+----------------------------+
3. | Database | Create Database |
4. +----------+----------------------------+
5. | test | CREATE DATABASE `test` |
6. +----------+----------------------------+
7. 1 row in set (0.00 sec)
Keywords
1. SHOW, CREATE, DATABASE
