ALTER TABLE HISTQUALFAB ADD CONSTRAINT FKFIS00544HISTQUALFAB FOREIGN KEY (CDFABRICANTE, NRORG) REFERENCES FABRICANTE (CDFABRIC, NRORG) ON DELETE CASCADE