Reason:
You attempted to create a primary key constraint using create_primary_constraint() on a table but one or more columns contain null values in the table.
Resolution:
Ensure you specify columns that do not contain nulls.
Tips:
- 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?
Comments
Article is closed for comments.