Rules and Restrictions for Modifying Data Tables Defined With an Error Table - 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™

This topic does not apply to the referential integrity error tables described in About Referential Integrity Error Tables for Column-Partitioned Tables.

Several rules apply to altering a table that is associated with an error table. See CREATE ERROR TABLE.

The system maintains the compatibility between data tables and their associated error tables by disallowing any of the operations in the following list when an error table is defined for a data table.
  • You cannot make any of the following changes to a data table definition if the table is associated with an error table.
    • Add a column
    • Drop a column
    • Alter its primary index
    • Change its fallback protection
  • You can modify the partitioning of a partitioned data table that has an associated error table.