Symptom
- You are using the MERGE command to insert unmatched rows in an all pages locking (APL) table.
- APL table is created with a unique clustered 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) 16.0
- SAP Adaptive Server Enterprise (ASE) 15.7
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0
Keywords
CR725001, CR#725001, 725001, "lock scheme", nonclustered, allpages, APL , 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.