SAP Knowledge Base Article - Preview

2175930 - Error 2601 "Attempt to insert duplicate key..." when using MERGE command on an APL table - SAP ASE


  • 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



SAP Adaptive Server Enterprise (ASE) 15.7 and 16.0


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


CR725001, CR#725001, 725001, "lock scheme", nonclustered, allpages , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BW-SYS-DB-SYB , BW on Adaptive Server Enterprise , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.