Files
doris/docs/en/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-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.6 KiB

title, language
title language
DROP-DATABASE en

DROP-DATABASE

Name

DOPR DATABASE

Description

This statement is used to delete the database (database) grammar:

DROP DATABASE [IF EXISTS] db_name [FORCE];

illustrate:

  • During the execution of DROP DATABASE, the deleted database can be recovered through the RECOVER statement. See the RECOVER statement for details
  • If you execute DROP DATABASE FORCE, the system will not check the database for unfinished transactions, the database will be deleted directly and cannot be recovered, this operation is generally not recommended

Example

  1. Delete the database db_test

    DROP DATABASE db_test;
    

Keywords

 DROP, DATABASE

Best Practice