Triggers, Partitioned Primary Indexes, and the ALTER TABLE Statement - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

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
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
Product Category
Teradata Vantage™

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 re-enable the triggers after the ALTER TABLE request completes.