ORACLE中查看一张表与哪些表相关联
SQL语句如下
SElect * from user_constraints where R_CONSTRAINT_NAME in
(select constraint_name from user_constraints where TABLE_NAME='要查找的表')
SQL语句如下
SElect * from user_constraints where R_CONSTRAINT_NAME in
(select constraint_name from user_constraints where TABLE_NAME='要查找的表')