ALTER TABLE CTRLCOMPENSACAO
	DROP CONSTRAINT FKFAI00619SERVICO
/
ALTER TABLE CTRLCOMPENSACAO
	ADD CONSTRAINT FKFAI00619SERVICO FOREIGN KEY (CDFILIAPUR, CDSERVFILI, NRORG)
	REFERENCES SERVICO (CDFILIAL, CDSERVFILI, NRORG)
/
ALTER TABLE CTRLCOMPENSACAO
	DROP CONSTRAINT FKFAI00620CTRLAPURFAT
/
ALTER TABLE CTRLCOMPENSACAO
	ADD CONSTRAINT FKFAI00620CTRLAPURFAT FOREIGN KEY (CDFILIAL, NRAPURACCOMP, NRORG) 
	REFERENCES CTRLAPURFAT (CDFILIAL, NRAPURACFAT, NRORG) ON DELETE CASCADE