What is trigger?

Answer

A trigger is defined for and connected to a RDBMS table. A trigger can be defined to do a particular job (typically insert audit records in another table or perform some validations) whenever the original table (on which the trigger is created) is selected or inserted, updated or deleted.

A trigger is used to ensure that certain jobs are automatically done when a predefined event occurs. Both the event and the resultant action typically happen within the database.

Improve Answer Discuss the question "What is trigger?" Watch Question

First answer by Vbala 99. Last edit by Harithaveni. Contributor trust: 12 [recommend contributor]. Question popularity: 41 [recommend question]

Research your answer: