drop index iname on tbname;
你不能删除主键的索引

解决方案 »

  1.   

    drop命令
    Cannot remove indexORA-02429:cannot drop index index used for enforcement of unique/primary key.
    主键上的索引不能删
      

  2.   

    ORA-02429 cannot drop index used for enforcement of unique/primary key Cause An attempt was made to drop an index that is being used as the enforcement mechanism for a unique or primary key. 
    Action Drop the integrity constraint instead of dropping the index.