Referenced Objects - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

Dropping a table or view does not delete the views, macros, or stored procedures that reference the dropped table or view. You need to drop referencing views, macros, and stored procedures explicitly.

Views, macros, and stored procedures fail after you drop a referenced table or view. If you replace a dropped table or view, the referencing views, macros, and stored procedures operate and provide the expected results only if the replacements have the same structure.

You cannot drop a table on which a trigger, hash index, or join index is defined. You must first drop the index, then drop the table definition.