ALTER TABLE FCT_VARPRECBASESERVCONT ADD NRITEMOCONTRATO NUMBER
/

CREATE INDEX SM00423_FK ON FCT_VARPRECBASESERVCONT(NRITEMOCONTRATO ASC)
/

ALTER TABLE FCT_VARPRECBASESERVCONT 
      ADD CONSTRAINT FKSM00423VARPRECBASE_ITEMCONT FOREIGN KEY (NRITEMOCONTRATO)
          REFERENCES FCT_ITEMCONTRATO (NRITEMOCONTRATO) ON DELETE CASCADE
/