Trigger

trigger is a mechanism that causes the automatic execution of a procedure in a table when a particular event occurs for it, for example when a user is about to modify the contents of a database.