Triggers are used to keep data's referential integrity by modifying it in a methodical manner. Each trigger is associated with a single table in the database. Triggers and stored procedures are similar in that they both contain procedural logic that is stored at the database level.