オラクル整合性制約メモ(Hishidama's Oracle constraint Memo)

http://www.ne.jp/asahi/hishidama/home/tech/oracle/constraint.html#h2_confirm


自分のユニークキー制約(あるいはプライマリキー制約)が 他のテーブルの
外部キー制約として使われているかどうかを調べるには、以下のような条件で検索する。

select table_name,constraint_name
from user_constraints
where R_CONSTRAINT_NAME = '制約名';