ALTER TABLE ITFREQGRPRATMES ADD CONSTRAINT FKPLA00970GRUPOPRATOSERV FOREIGN KEY (NRGRUPOPRATOSERV) REFERENCES GRUPOPRATOSERV (NRGRUPOPRATOSERV) ON DELETE CASCADE
/
CREATE INDEX FKPLA00970GRUPOPRATOSERV ON ITFREQGRPRATMES (NRGRUPOPRATOSERV)
/
ALTER TABLE ITFREQGRPRATMES MODIFY NRGRUPOPRATO NULL
/
ALTER TABLE ITFREQGRPRATMES DROP CONSTRAINT FKPLA00940FREQGRPRATMES
/
ALTER TABLE ITFREQGRPRATMES ADD CONSTRAINT FKPLA00940FREQGRPRATMES FOREIGN KEY (NRFREQGRPRATMES) REFERENCES FREQGRPRATMES (NRFREQGRPRATMES) ON DELETE CASCADE
/
ALTER TABLE ITFREQOPCAGR ADD NRGRUPOPRATOSERV NUMBER NULL
/
ALTER TABLE ITFREQOPCAGR ADD CONSTRAINT FKPLA00971GRUPOPRATOSERV FOREIGN KEY (NRGRUPOPRATOSERV) REFERENCES GRUPOPRATOSERV (NRGRUPOPRATOSERV) ON DELETE CASCADE
/
CREATE INDEX FKPLA00971GRUPOPRATOSERV ON ITFREQOPCAGR (NRGRUPOPRATOSERV)
/
ALTER TABLE ITFREQOPCAGR MODIFY NRGRUPOPRATO NULL