DROP TABLE
Function
This command is used to delete an existing table.
Syntax
DROP TABLE [IF EXISTS] [db_name.]table_name;
Parameter Description
Parameter |
Description |
---|---|
db_name |
Database name. If this parameter is not specified, the current database is selected. |
table_name |
Name of the table to be deleted. |
Precautions
In this command, IF EXISTS and db_name are optional.
Examples
DROP TABLE IF EXISTS hudidb.h1;
System Response
The table will be deleted.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot