ERROR: One or more rows violate foreign key constraint on ...


You attempted to update rows in a table using update_rows() but the updates violate a foreign key constraint on the table. That is, the update contains values in the columns of a foreign key constraint that do not match primary key values in table referenced by the foreign key constraint.


You cannot update rows to violate a foreign key constraint.


  • The error message identifies the columns in the foreign key constraint.
Have more questions? Submit a request


Article is closed for comments.

Powered by Zendesk