Symptom
A deployment running in migrate data mode fails with an error similar to:
The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.<table_name>' and the index name '<index_name>'. The duplicated key value is(<duplicate_keys>).
The failure occurs after introducing a new unique index in an *-items.xml definition, for example:
<itemtype code="***" ...>
<deployment table="***" typecode="***" />
<indexes>
<index name="***" unique="true">
...
</index>
</indexes>
</itemtype>
Read more...
Product
SAP Commerce Cloud 2211
Keywords
deployment failed, duplicate key, CREATE UNIQUE INDEX statement terminated , KBA , CEC-SCC-CLA-DEP , Deployments , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview