ALTER TABLE FCT_SERVICOORCA ADD (
  IDORDENAELEMENTO NUMBER(10) DEFAULT NULL NULL
)
/
ALTER TABLE FCT_TRABSERVORCAMENTO DROP CONSTRAINT FK_FCT_ITCOMPSERVICO_TRABSERV
/
ALTER TABLE FCT_CONTRATO ADD (
  CDCENTCUST VARCHAR2(4) DEFAULT NULL NULL
)
/
ALTER TABLE FCT_COMPSERVICO ADD (
  NRCOMPSERVICOPAI NUMBER(10) DEFAULT NULL NULL
)
/
ALTER TABLE FCT_COMPSERVICO ADD CONSTRAINT FK_FCT_COMPSERVICO_COMPPAI FOREIGN KEY (NRCOMPSERVICOPAI, NRORG) REFERENCES FCT_COMPSERVICO (NRCOMPSERVICO, NRORG)