Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-02291: integrity constraint parent key not found

Vinicius ViniMay 29 2024

CREATE TABLE cliente (
codempresa INTEGER NOT NULL,
codcliente INTEGER NOT NULL,
nomcliente VARCHAR2(60),
tipomercado CHAR(01),
datainclusao DATE,
usuinclusao VARCHAR2(15),
dataalteracao DATE,
usualteracao VARCHAR2(15),
uf CHAR(02) NOT NULL,
cep CHAR(09),
PRIMARY KEY ( codempresa, codcliente));

COMMENT ON COLUMN cliente.tipomercado IS
'I - MERCADO INTERNO
E - MERCADO EXTERNO';

How can i fix the following error? ORA-02291: integrity constraint parent key not found

Comments
Post Details
Added on May 29 2024
2 comments
88 views