删除视图Drop View

DROP VIEW [db_name.]view_name

删除基于一个或多个表的逻辑视图。Drop a logical view on one or more tables.

示例Examples

-- Drop the global temp view, temp view, and persistent view.
DROP VIEW global_temp.global_DeptSJC;
DROP VIEW temp_DeptSFO;
DROP VIEW database1.view_deptDetails;