ALTER TABLE DWH.MNP_DW_SLA_3GG_OUT
 DROP PRIMARY KEY CASCADE;
 
CREATE UNIQUE INDEX MNP_DW_SLA_3GG_OUT_PK ON MNP_DW_SLA_3GG_OUT
(ID_RICHIESTA, TIPO_MESSAGGIO, DONOR_EFFETTIVO, RECIPIENT_EFFETTIVO, DONOR_RETE)
LOGGING
TABLESPACE TAB_SMALL
PCTFREE    10
INITRANS   2
MAXTRANS   255
STORAGE    (
            INITIAL          10M
            NEXT             10M
            MINEXTENTS       1
            MAXEXTENTS       2147483645
            PCTINCREASE      0
            FREELISTS        1
            FREELIST GROUPS  1
            BUFFER_POOL      DEFAULT
           )
NOPARALLEL;


ALTER TABLE MNP_DW_SLA_3GG_OUT ADD (
  CONSTRAINT MNP_DW_SLA_3GG_OUT_PK
 PRIMARY KEY
 (ID_RICHIESTA, TIPO_MESSAGGIO, DONOR_EFFETTIVO, RECIPIENT_EFFETTIVO,DONOR_RETE)
    USING INDEX 
    TABLESPACE TAB_SMALL
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          10M
                NEXT             10M
                MINEXTENTS       1
                MAXEXTENTS       2147483645
                PCTINCREASE      0
                FREELISTS        1
                FREELIST GROUPS  1
               ));