DROP MATERIALIZED VIEW
Function
Deletes a materialized view. This syntax is supported only by clusters of 8.2.1.100 or later.
Precautions
None
Syntax
1 2 |
DROP MATERIALIZED VIEW [ IF EXISTS ] {[schema.]materialized_view_name} [, ...] [ CASCADE | RESTRICT ]; |
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
IF EXISTS |
Sends a notice instead of an error if the specified materialized view does not exist. |
- |
materialized_view_name |
Name of the materialized view to be deleted. |
Name of an existing materialized view. |
CASCADE | RESTRICT |
Specifies how to process related data in the dependent object when a delete operation is performed. |
|
Examples
Delete a materialized view.
1
|
DROP MATERIALIZED VIEW mv1; |
Helpful Links
ALTER MATERIALIZED VIEW, CREATE MATERIALIZED VIEW, REFRESH MATERIALIZED VIEW
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