Help & Documentation>Data Lake Compute

ALTER VIEW RENAME TO

Last updated: 2024-01-12 10:27:00

Note

Supported kernels: Presto, SparkSQL.
Purpose: Altering the view name.

Standard Syntax

ALTER VIEW old_view_identifier RENAME TO new_view_identifier

Category

old_view_identifier: The name of the view prior to modification.
new_view_identifier: The name of the view after modification.

Sample

alter view old_view rename to new_view