16.20 - Triggers, Partitioned Primary Indexes, and the ALTER TABLE Statement - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

You must disable some triggers before you can perform an ALTER TABLE request that modifies or revalidates the primary index for a table.

ALTER TABLE Request Modifies or Revalidates the Primary Index with this Option Disable these Triggers
WITH DELETE All DELETE triggers on table_name.
WITH INSERT
  • All DELETE triggers on table_name.
  • All INSERT triggers on save_table.

You can reenable the triggers after the ALTER TABLE request completes.