Drop View
Function
Drop a view.
Syntax
DROP VIEW [IF EXISTS] [db_name.]view_name;
Keywords
DROP: Drop the metadata of the specified view. Although views and tables share many commonalities, DROP TABLE cannot be used to drop a view.
Precautions
The view to be dropped must already exist. Otherwise, an error will occur. This error can be avoided by using IF EXISTS.
Examples
Drop the view named student_view.
DROP VIEW student_view;
What is your overall rating for this page?
Thank 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