17

Trying to drop a unique constraint I've got such error:

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

How to find the list of foreign keys by which my unique constraint is referenced?

wheleph
  • 7,974
  • 7
  • 40
  • 57

1 Answers1

39
select * from all_constraints 
where constraint_type='R' and r_constraint_name='YOUR_CONSTRAINT';
Andomar
  • 232,371
  • 49
  • 380
  • 404
Erich Kitzmueller
  • 36,381
  • 5
  • 80
  • 102