ERROR: Columns ... contain duplicate keys in table ...


You attempted to create a primary key constraint using create_primary_constraint() on a table but one or more rows contain duplicate keys in the table.


Ensure you specify columns that do not contain duplicate keys.


  • Were the correct columns specified for the primary key?
  • Does the table contain invalid data?
  • Does the table need truncating and re-loading with valid data?
Have more questions? Submit a request


Article is closed for comments.

Powered by Zendesk