Triggers allow you to add functionality to your tables so that they perform a certain series of actions whenever a defined query is made. For example, it is possible to have your DBMS recalculate certain values whenever new records are added, or whenever more than ten rows have been read at once.
Many people find triggers problematic because they are hard to debug, and often cause unexpected actions. However, if used properly they fulfil a role that nothing else can, and so can help a great deal.
Copyright 2012 Future Publishing Limited (company
registered number 2008885), a company registered
in England and Wales whose registered office is at