select u1.CONSTRAINT_NAME, u1.TABLE_NAME as table_, u2.TABLE_NAME as reference_
from user_constraints u1, user_constraints u2
where u1.constraint_type='R' and u1.R_CONSTRAINT_NAME = u2.CONSTRAINT_NAME and u2.table_name='BASEF_SCHOOL_INFOR'
ORACLE主从表查找
最新推荐文章于 2021-07-16 15:23:31 发布