读书人

Oracle中已知表的主键怎么查看引用它

发布时间: 2012-09-17 12:06:51 作者: rapoo

Oracle中已知表的主键,如何查看引用它的外键
已知表的主键,如何查看所有引用它为外键的表



[解决办法]
查询主外键关系语句
http://space6212.itpub.net/post/12157/107584
[解决办法]
select * from user_constraints t where t.constraint_type='R' and t.r_constraint_name='PK_NAME'

这里就有。

读书人网 >oracle

热点推荐