DROP VIEW SQL Statement | Teradata Vantage - DROP VIEW - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantage™

Drops the definition of a specified view from the Data Dictionary.

When you drop a view, the system:

  • Sets an EXCLUSIVE lock on the view.
  • Frees the disk space used by the dropped view and any fallback copy.
  • Removes any explicit access privileges on the object.
  • Removes the metadata for the dropped object from the data dictionary. This includes dropping any statistics collected on the view from DBC.StatsTbl.

ANSI Compliance

DROP VIEW is ANSI SQL:2011-compliant.

Required Privileges

You must have the appropriate DROP privilege on the specified view.