ALTER TABLE PERCITDETALFILGOP ADD CONSTRAINT FKGOP00668PERCITFILGOP FOREIGN KEY (NRPERCITFILGOP) REFERENCES PERCITFILGOP (NRPERCITFILGOP) ON DELETE CASCADE
/
ALTER TABLE PERCITDETALFILGOP ADD CONSTRAINT FKGOP00669FILIAL FOREIGN KEY (CDFILIAL) REFERENCES FILIAL (CDFILIAL)
/
ALTER TABLE PERCITDETALFILGOP ADD CONSTRAINT FKGOP00670PRODUTO FOREIGN KEY (CDPRODUTO) REFERENCES PRODUTO (CDPRODUTO)
/
ALTER TABLE PERCITDETALFILGOP ADD CONSTRAINT FKGOP00671IMPOSTO FOREIGN KEY (CDIMPOSTO) REFERENCES IMPOSTO (CDIMPOSTO)
/
ALTER TABLE PERCITDETALFILGOP ADD CONSTRAINT FKGOP00672TIPOOPERAC FOREIGN KEY (CDTIPOOPER, IDENTRSAIDOP) REFERENCES TIPOOPERAC (CDTIPOOPER, IDENTRSAIDOP)
/
ALTER TABLE PERCITDETALFILGOP ADD CONSTRAINT FKGOP00673INVESTIMENTOS FOREIGN KEY (CDINVEST) REFERENCES INVESTIMENTOS (CDINVEST)
/
ALTER TABLE PERCITDETALFILGOP ADD CONSTRAINT FKGOP00674ORCAMENTOMO FOREIGN KEY (CDORCAMENTOMO, CDFILIALMO) REFERENCES ORCAMENTOMO (CDORCAMENTOMO, CDFILIAL)
/
ALTER TABLE PERCITDETALFILGOP ADD CONSTRAINT FKGOP00675DESPPREV FOREIGN KEY (CDDESPPREV) REFERENCES DESPPREV (CDDESPPREV)