Database Trigger

A database trigger is procedural code that is automatically executed in response to certain events on a particular table or view in a database. The trigger is mostly used for maintaining the integrity of the information on the database. For example, when a new record (representing a new worker) is added to the employees table, new records should also be created in the tables of the taxes, vacations and salaries.

Read more about Database Trigger:  The Need and The Usage, Triggers in Oracle, Triggers in Microsoft SQL Server, Triggers in PostgreSQL, Triggers in Firebird, Triggers in MySQL, Triggers in IBM DB2 LUW, Triggers in SQLite, Triggers in XML Databases