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

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)

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.