passer1991

oracle 查看主外键约束

select *
from user_constraints a, user_constraints b
where a.constraint_type = 'R'
and b.constraint_type = 'P'
and a.r_constraint_name = b.constraint_name

posted on 2013-07-04 21:15  passer1991  阅读(331)  评论(0编辑  收藏  举报

导航