If a target table has a filtering-mode constraint or unique index defined
on it and a violations table associated with it, users cannot insert into
the target table by selecting from the violations table. Before you insert
rows into the target table by selecting from the violations table, you must
take one of the following steps:
- You can set the constraint or unique index to DISABLED mode.
- You can issue STOP VIOLATIONS TABLE for the target table.
If it is inconvenient to take either of these steps, but you intend
to copy records from the violations table into the target table, a third option
is to select from the violations table into a temporary table and then insert
the contents of the temporary table into the target table.