想诸位高手解答下,为何会出现以下情况,就算约束条件存在也删除不了?
SQL> alter table emp drop constraint emp_fk
  2  /
alter table emp drop constraint emp_fk
                                *
第 1 行出现错误:
ORA-02443: 无法删除约束条件 - 不存在的约束条件

解决方案 »

  1.   

    1:约束加个引号试试看,
    2:不行的话,rebuild table
      

  2.   

    it would be disable the constraint, you can enable the constraint and delete the constraint, or you can scan  the user_constraint table you will take the value information
      

  3.   

    这个是你的约束根本不成在 
    你查下这个视图user_cons_columns中是否存在这个约束名
      

  4.   

    这个约束应该不是加在emp表吧 ,而是 你从另外的表关联emp表 
    所以你的语句应该是不正确的。
    应该是 
    alter table xxx   drop constraint emp_fk你的tmp表下并没有这个约束