Referential constraints and check constraints can be in a state known as check pending, where potential violations of the constraint exist.
For referential constraints, a violation occurs when potential mismatches exist between parent and foreign keys. For check constraints, a violation occurs when potential values exist in columns which are limited by the check constraint. When the system determines that the constraint may have been violated (such as after a restore operation), the constraint is marked as check pending. When this happens, restrictions are placed on the use of tables involved in the constraint. For referential constraints, the following restrictions apply:
When a check constraint is in check pending, the following restrictions apply:
To get a constraint out of check pending, you must:
You can identify the rows that are in violation of the constraint with the Display Check Pending Constraint (DSPCPCST) CL command.