ALTER TABLE ITRATEFECLIFAT ADD CONSTRAINT FKPLA00999EFECLIFAT FOREIGN KEY (CDFILIAL, CDSERVFILI, CDCLIENTE, DTFATURAM, CDSERVPLAN) REFERENCES EFECLIFAT (CDFILIAL, CDSERVFILI, CDCLIENTE, DTFATURAM, CDSERVPLAN) ON DELETE CASCADE
/
ALTER TABLE ITRATEFECLIFAT ADD CONSTRAINT FKPLA01000ITEMRATEIOEFET FOREIGN KEY (NRITEMRATEIOEFET) REFERENCES ITEMRATEIOEFET (NRITEMRATEIOEFET)