ALTER TABLE PERCDETALPRODGOP ADD CONSTRAINT FKGOP00664DESPORCAMO FOREIGN KEY (CDORCAMENTOMO, CDFILIALMO, CDDESPADMFAT) REFERENCES DESPORCAMO (CDORCAMENTOMO, CDFILIAL, CDDESPADMFAT)
/
ALTER TABLE PERCDETALPRODGOP ADD CONSTRAINT FKGOP00665TIPOOPERAC FOREIGN KEY (CDTIPOOPER, IDENTRSAIDOP) REFERENCES TIPOOPERAC (CDTIPOOPER, IDENTRSAIDOP)
/
ALTER TABLE PERCDETALPRODGOP ADD CONSTRAINT FKGOP00666PERCDETALPRODGOP FOREIGN KEY (NRPERCITEMDETALGOP) REFERENCES PERCITEMDETALGOP (NRPERCITEMDETALGOP) ON DELETE CASCADE