This PR is mainly do three things: 1. Fix fe meta version bug introduced by #4029 , when fix conflict with #4086 2. Make drop check code easy to read 3. Add doc content for drop meta check
1.4 KiB
1.4 KiB
title, language
| title | language |
|---|---|
| DROP DATABASE | en |
DROP DATABASE
##Description This statement is used to delete the database Grammar: DROP DATABASE [IF EXISTS] db_name;
Explain:
- After executing DROP DATABASE for a period of time, the deleted database can be restored through the RECOVER statement. See RECOVER statement for details
- If DROP DATABASE FORCE is executed, the system will not check whether the database has unfinished transactions, the database will be deleted directly and cannot be recovered, generally this operation is not recommended
example
- Delete database db_test DROP DATABASE db_test;
keyword
DROP,DATABASE