1.查询主键(P),外键(R)
select cu.*,au.constraint_type from user_cons_columns cu, user_constraints au where cu.constraint_name = au.constraint_name
and cu.constraint_name =‘FK_UMOMAPUSER‘and au.constraint_type =‘R‘
原文:http://www.cnblogs.com/smashed/p/4387343.html
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!