--Oracle报错:“ORA-02292:违反完整约束条件(XXX.FKXXX)- 已找到子记录 解决:找到约束的子表 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 a.constraint_name = upper('FKXXX')