select a.constraint_name, a.table_name, b.constraint_name
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
and b.table_name ='AAA'
查看引用表AAA的外键约束
最新推荐文章于 2022-04-22 23:34:02 发布