ALTER TABLE FREQOPCAGR ADD CONSTRAINT FKPLA00954FILIAL FOREIGN KEY (CDFILIAL, NRORG) REFERENCES FILIAL (CDFILIAL, NRORG)
/
CREATE INDEX FKPLA00954FILIAL ON FREQOPCAGR (CDFILIAL)
/
ALTER TABLE FREQOPCAGR ADD CONSTRAINT FKPLA00955SERVICO FOREIGN KEY (CDFILIAL, CDSERVFILI, NRORG) REFERENCES SERVICO (CDFILIAL, CDSERVFILI, NRORG)
/
CREATE INDEX FKPLA00955SERVICO ON FREQOPCAGR (CDFILIAL, CDSERVFILI)