2009-11-16 2 views
10

내가 같은 오류가있어 고유 제한 조건 드롭하려고 일부 외래 키에 의해 참조 :수정 ORA-02273 :이 고유/기본 키는

ORA-02273: this unique/primary key is referenced by some foreign keys 

어떻게 외래 키의 목록을 찾을 수를하는 내 고유 제한 조건이 참조됩니까?

답변

26
select * from all_constraints 
where constraint_type='R' and r_constraint_name='YOUR_CONSTRAINT';