CREATE TABLE MNP.MNP_FMSRISK_CESSAZIONE_OUT
(
  UNIQUE_ID              NUMBER                 NOT NULL,
  DATA_INSERIMENTO       DATE                   DEFAULT SYSDATE               NOT NULL,
  DATA_GENERAZIONE_FILE  DATE,
  NOME_FILE              VARCHAR2(50 BYTE),
  MSISDN                 VARCHAR2(12 BYTE)      NOT NULL,
  CF_PIVA                VARCHAR2(16 BYTE),
  DATA_CUT_OVER          DATE                   NOT NULL,
  NATURA_CLIENTE         VARCHAR2(1 BYTE)           NOT NULL,
  ABBONATO_PREPAGATO     VARCHAR2(1 BYTE)           NOT NULL,
  DA_INVIARE             NUMBER(1)              DEFAULT 1                     NOT NULL
)
TABLESPACE TAB_HUGE_2
PCTUSED    40
PCTFREE    10
INITRANS   1
MAXTRANS   255
STORAGE    (
            INITIAL          512M
            NEXT             10M
            MINEXTENTS       1
            MAXEXTENTS       UNLIMITED
            PCTINCREASE      0
            FREELISTS        1
            FREELIST GROUPS  1
            BUFFER_POOL      DEFAULT
           )
LOGGING 
NOCACHE
NOPARALLEL
NOMONITORING;
CREATE UNIQUE INDEX MNP.IDX_FMSRISK_CSSZOUT_1 ON MNP.MNP_FMSRISK_CESSAZIONE_OUT
(UNIQUE_ID)
LOGGING
TABLESPACE TAB_IDX_HUGE_2_2
PCTFREE    10
INITRANS   2
MAXTRANS   255
STORAGE    (
            INITIAL          512M
            NEXT             10M
            MINEXTENTS       1
            MAXEXTENTS       UNLIMITED
            PCTINCREASE      0
            FREELISTS        1
            FREELIST GROUPS  1
            BUFFER_POOL      DEFAULT
           )
NOPARALLEL;
ALTER TABLE MNP.MNP_FMSRISK_CESSAZIONE_OUT ADD (
  CONSTRAINT PK_MNP_FMSRISK_CSSZ_OUT
 PRIMARY KEY
 (UNIQUE_ID));
CREATE SEQUENCE MNP.SEQ_FMSRISK_CSSZ_OUT
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;