CANCEL REFRESH MATERIALIZED VIEW
Descriptionβ
Cancels a refresh task for an asynchronous materialized view.
tip
This operation requires the REFRESH privilege on the target materialized view.
Syntaxβ
CANCEL REFRESH MATERIALIZED VIEW [<database_name>.]<materialized_view_name>
Parametersβ
Parameter | Required | Description |
---|---|---|
database_name | No | Name of the database where the materialized view resides. If this parameter is not specified, the current database is used. |
materialized_view_name | Yes | Name of the materialized view. |
Examplesβ
Example 1: Cancel the refresh task for the ASYNC refresh materialized view lo_mv1
.
CANCEL REFRESH MATERIALIZED VIEW lo_mv1;