ALTER TRIGGER SQL Statement | Teradata Vantage - ALTER TRIGGER - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

Enables or disables a trigger or changes its creation timestamp.

Some utilities, such as FastLoad and MultiLoad, cannot operate on tables with enabled triggers. Disabling the triggers enables bulk loading of data into the tables. Although the Teradata Parallel Data Pump utility operates on tables with enabled triggers, performance issues can occur.

Some triggers coordinate actions on a set of tables. If these triggers are disabled for some period of time, the application must ensure that the relationship among the set of tables and the trigger is not lost.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Other SQL dialects support similar non-ANSI standard statements with names such as the following:
  • DISABLE TRIGGER
  • ENABLE TRIGGER

Required Privileges

To execute ALTER TRIGGER, you must have the DROP TRIGGER privilege on the table on which the trigger is defined, or on the database containing it.

There are no privileges granted automatically.