ALTER TABLE PERCDETALPRODGOP ADD CDCONTCTBL VARCHAR2(20) NULL
/

CREATE INDEX GOP00733_FK ON PERCDETALPRODGOP (CDCONTCTBL)
/

ALTER TABLE PERCDETALPRODGOP ADD CONSTRAINT FKGOP00733CONTCTBL FOREIGN KEY (CDCONTCTBL) REFERENCES CONTCTBL (CDCONTCTBL)
/

ALTER TABLE PERCDETPRODFILGOP ADD CDCONTCTBL VARCHAR2(20) NULL
/

CREATE INDEX GOP00734_FK ON PERCDETPRODFILGOP (CDCONTCTBL)
/

ALTER TABLE PERCDETPRODFILGOP ADD CONSTRAINT FKGOP00734CONTCTBL FOREIGN KEY (CDCONTCTBL) REFERENCES CONTCTBL (CDCONTCTBL)
/