A database trigger is procedural code that is automatically executed in response to certain events on a particular table ...
en.m.wikipedia.org