Hi,
I got the error "unique constraint violation" when I am updating
a table. The table has a unique key with muti columns.
I am trying to the update a unique key column. If I change this the uniqueness
will be gone. None of the columns are primary key.
How Can I update?
I searched in the web. I found the the following info.
1). Remove the unique restriction.
2).Change the restriction to allow duplicate keys.
An index could be changed to be a non-unique index,
but remember that the primary key must always be unique.
The first one I canot do it.
I did not understand the second one.: 'Change the restriction to allow duplicate keys'How Can I do this?
Any idea please.
Thanks.
I got the error "unique constraint violation" when I am updating
a table. The table has a unique key with muti columns.
I am trying to the update a unique key column. If I change this the uniqueness
will be gone. None of the columns are primary key.
How Can I update?
I searched in the web. I found the the following info.
1). Remove the unique restriction.
2).Change the restriction to allow duplicate keys.
An index could be changed to be a non-unique index,
but remember that the primary key must always be unique.
The first one I canot do it.
I did not understand the second one.: 'Change the restriction to allow duplicate keys'How Can I do this?
Any idea please.
Thanks.