数据库中主外键关联关系

来源:互联网 发布:环形网络拓扑结构 编辑:程序博客网 时间:2024/06/07 14:28
  1. 查询数据库中主外键关联关系
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