DROP VIEW SQL Statement | Teradata Vantage - DROP VIEW - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
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.

Required Privileges

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