The update rule controls how the update operations are performed against parent and child tables participating in a referential integrity constraint. There are two possible behaviors that occur with an update rule and they are as follows:
- ON UPDATE RESTRICT: This ensures that whenever an update operation is performed on a parent table of a referential integrity constraint, the value for the foreign key of each record in the child table will have the exact same matching value in the primary key of the parent table that it had before the update operation was performed.
- ON UPDATE NO ACTION: This ensures that whenever an update operation is performed on either table in a referential integrity constraint, ...