# 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 to obtain this functionality, rather than writing triggers. See the Java DB Reference Manual for more information on referential integrity.

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