# Performing referential actions

Derby provides referential actions. Examples in this section are included to illustrate how to write triggers.

You can choose to use standard SQL referential integrity (using foreign keys) to obtain this functionality, rather than writing triggers. See the "CONSTRAINT clause" topic in the Derby Reference Manual for details.

Parent topic: Programming trigger actions
Related concepts
Trigger action overview
Performing referential actions
Accessing before and after rows
Triggers and exceptions
Related reference
Examples of trigger actions