I have many errors like this, i dont get why, the table im referencing has everything it should have i think.
145 0.01 ALTER TABLE antecedentes_clinico ADD CONSTRAINT antecede Error at line 2/20: ORA-02298: cannot validate (CL_A515_PLSQL_S20_ADMIN.ANTECEDENTESMASCOTA_FK) – parent keys not found ORA-06512: at “SYS.WWV_DBMS_SQL_APEX_220200”, line 828 ORA-06512: at “SYS.DBMS_SYS_SQL”, line 1658 ORA-06512: at “SYS.WWV_DBMS_SQL_APEX_220200”, line 813 ORA-06512: at “APEX_220200.WWV_FLOW_DYNAMIC_EXEC”, line 2046 –
146 0.01 ALTER TABLE antecedentes_clinico ADD CONSTRAINT antecede Error at line 2/20: ORA-02298: cannot validate (CL_A515_PLSQL_S20_ADMIN.ANTECEDENTMEDICAMENTOS_FK) – parent keys not found ORA-06512: at “SYS.WWV_DBMS_SQL_APEX_220200”, line 828 ORA-06512: at “SYS.DBMS_SYS_SQL”, line 1658 ORA-06512: at “SYS.WWV_DBMS_SQL_APEX_220200”, line 813 ORA-06512: at “APEX_220200.WWV_FLOW_DYNAMIC_EXEC”, line 2046
Table
ALTER TABLE examenes_orina ADD CONSTRAINT examenes_orina_diagnostico_fk FOREIGN KEY (id_diagnostico) REFERENCES diagnostico (id_diagnostico)
Table altered. 0.01 seconds
This one works
TreadingThePathToHeaven is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.