Files
doris/docs/en/sql-manual/sql-reference/Show-Statements/SHOW-CREATE-DATABASE.md
Mingyu Chen 74a482ca7f [fix] fix docs build bug (#9293)
After this PR #9272, the `docs/build_help_zip.sh` will run failed.
This PR fix this issue.
But the help module still has some parse problem, I will fix it in next PR.

This CL mainly changes:
1. fix `docs/build_help_zip.sh` error
2. remove `sql-reference-v2` to `sql-reference`
3. modify build extension github action to run `docs/build_help_zip.sh`
2022-04-28 22:19:04 +08:00

1.5 KiB

title, language
title language
SHOW-CREATE-DATABASE en

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

  1. 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

Best Practice