ALTER TABLE RESPOSTAPESQ ADD CONSTRAINT FKMYM00008EXECUCAOPESQ FOREIGN KEY(NREXECUCAOPESQ, NRORG) REFERENCES EXECUCAOPESQ (NREXECUCAOPESQ, NRORG)
/
CREATE INDEX FKMYM00008EXECUCAOPESQ ON RESPOSTAPESQ (NREXECUCAOPESQ, NRORG)
/
ALTER TABLE RESPOSTAPESQ ADD CONSTRAINT FKMYM00009QUESTAO FOREIGN KEY(NRQUESTAO, NRORG) REFERENCES QUESTAO (NRQUESTAO, NRORG)
/
CREATE INDEX FKMYM00009QUESTAO ON RESPOSTAPESQ (NRQUESTAO, NRORG)
/
CREATE INDEX FKMYM00005LOCALPESQ ON EXECUCAOPESQ (NRLOCALPESQ, NRORG)
/
CREATE INDEX FKMYM00006FILIAL ON EXECUCAOPESQ (CDFILIAL, NRORG)
/
CREATE INDEX FKMYM00007QUESTIONARIO ON EXECUCAOPESQ (NRQUESTIONARIO, NRORG)