Published at LXer:
In SQL terms, a trigger is "procedural code that is automatically executed in response to certain events on a particular table in a database" (Wikipedia). More simply, it is a stub of code that is automatically activated when a particular database event, such as an INSERT or DELETE, occurs.
Read More...