ALTER TABLE ITMAPARECUP ADD (
  IDSUBSTSOLIDST VARCHAR2(1) DEFAULT 'N' NOT NULL
)
/
ALTER TABLE ITMAPARECUP ADD CONSTRAINT CKC_IDSUBSTSOLIDST_ITMAPARECUP CHECK (IDSUBSTSOLIDST IN ('S','N'))
/
ALTER TABLE DETITMAPARECUP ADD (
  VRIMPOSTOIT DOUBLE PRECISION DEFAULT '0' NOT NULL, 
  IDSUBSTSOLIDST VARCHAR2(1) DEFAULT 'N' NOT NULL
)
/
ALTER TABLE DETITMAPARECUP ADD CONSTRAINT CKC_IDSUBSTSOLIDST_DETITMAPARE CHECK (IDSUBSTSOLIDST IN ('S','N'))