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

Reason:

You attempted to insert rows in a table using insert_rows() but the rows being inserted violate the primary key constraint on the table. That is, the insert would cause one or more rows in the table to contain duplicate values in the columns of the primary key constraint.

Resolution:

You cannot insert rows that violate a primary key constraint.

Tips:

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

Comments

Article is closed for comments.

Powered by Zendesk