ALTER TABLE INCONSPEDIDO DROP CONSTRAINT FKPED00146ITEMPEDI
/

ALTER TABLE INCONSPEDIDO
    ADD CONSTRAINT FKPED00146ITEMPEDI FOREIGN KEY  (CDFILIAL, NRPEDIDO, NRITEMPED)
       REFERENCES ITEMPEDIDO (CDFILIAL, NRPEDIDO, NRITEMPED) ON DELETE CASCADE
/