Oracle 根据外键名称查询外键信息
select * from dba_constraints where constraint_name = '外键名称';// 要有DBA权限
select * from user_constraints where constraint_name = '外键名称';// 不需要DBA权限
select table_name, column_name from user_cons_columns where constraint_name like '%外键名称%';// 另一种方法
select * from dba_constraints where constraint_name = 'SYS_C0011490';
浙公网安备 33010602011771号