What is a trigger?
Certain physical or environmental factors, such as foods, hormonal changes, weather, and stress, can lead to or “trigger” a migraine. However, it’s important to remember that triggers are different for everyone. That’s why, to help prevent migraine attacks, you need to figure out which triggers affect you and which ones don’t. Keeping a headache diary is an effective way to track triggers, and it will help you talk to your healthcare professional about your condition. Click here for more information.
A trigger is a set of actions that are run automatically when a specified change or read operation is performed on a specified table or on a specified physical database file. For more information, see Triggering automatic events in your database. Beginning in V5R1, you can also use SQL triggers. The SQL CREATE TRIGGER statement provides a way for the database management system to actively control, monitor, and manage a group of tables whenever an insert, an update, or a delete operation is performed. The statements specified in the SQL trigger are run each time an SQL insert, update, or delete operation is performed. An SQL trigger can call stored procedures or user-defined functions to perform additional processing when the trigger is run. For more information, see SQL triggers.