SAP Knowledge Base Article - Preview

2840399 - How to drop a primary key constraint - SAP ASE

Symptom

  • How to drop a primary key constraint
  • When running DROP INDEX command to drop the primary key, a 3710 error is raised:

    drop index test1.test1_7520026792
    go

    Msg 3710, Level 16, State 2:
    Server '<ASE name>', Line 1:
    Cannot use DROP or REPLACE with 'test1.test1_7520026792' because 'test1_7520026792' is a constraint. Use ALTER TABLE.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) All versions

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

SQLCODE=3710 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , How To

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.