Entering content frame

-35: Referential integrity violated Locate the document in the library structure

Explanation:

This may be caused by one of the following:

1.       An INSERT or UPDATE statement issued on a table that is the referencing table in a referential CONSTRAINT definition produces a row that is not a matching row of the CONSTRAINT definition.

2.       When deleting rows from a referenced table (referenced_table) of a referential CONSTRAINT definition with ON DELETE RESTRICT in the DELETE RULE, a matching row exists.

3.       When executing a referential CONSTRAINT definition, the referenced table or referencing table contains rows that conflict with the CONSTRAINT definition.

User Action:

...

    1.         Display the definition of the referential CONSTRAINT definition using a QUERY statement issued on the system table DOMAIN.FOREIGNKEYCOLUMNS. Correct the INSERT or UPDATE statement according to this definition.

    2.         Use an appropriate QUERY statement to find out which row of the referencing table prevents the desired referenced table rows from being deleted.

    3.         Use an appropriate QUERY statement to find out which row of the referenced table or referencing table conflicts with the referential CONSTRAINT definition. Change or delete this row, or correct the CONSTRAINT definition.

 

Leaving content frame