SHOW-CREATE-DATABASE
SHOW-CREATE-DATABASEβ
Nameβ
SHOW CREATE DATABASE
Descriptionβ
This statement checks the creation of the doris database.
grammar:
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
mysql> SHOW CREATE DATABASE test;
+----------+----------------------------+
| Database | Create Database |
+----------+----------------------------+
| test | CREATE DATABASE `test` |
+----------+----------------------------+
1 row in set (0.00 sec)
Keywordsβ
SHOW, CREATE, DATABASE