Symptom
- You are using the MERGE command to insert unmatched rows in a DOL table.
- DOL table is created with a unique index.
- Following error is returned:
Msg 2601, Level 14, State 1:
Attempt to insert duplicate key row in object % with unique index %
Command has been aborted
Read more...
Environment
- SAP Adaptive Server Enterprise (ASE) 15.7
- SAP Adaptive Server Enterprise (ASE) 16.0
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 12.5 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5
Keywords
"lock scheme", nonclustered, merge, APL, datapages, datarows, dol, Sybase, "duplicate key", CR799786, 799786 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
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