The primary key or UNIQUE constraint cannot be changed until its existing relationships are deleted.

You cannot change a table’s primary key or unique constraint while other foreign key relationships are still in place. To change a table’s primary key or unique constraint, first delete all existing relationships for the table.

For more information, see Deleting a Relationship.