CREATE TABLE MNP.MNP_DBC_VARIAZIONE_OLO
(
TIPO_RECORD     CHAR(1),
NUM_TEL         VARCHAR2(15),
DATA            DATE,
RECIPIENT_NEW   VARCHAR2(30)
)
TABLESPACE TAB_SMALL;

ALTER TABLE MNP.MNP_DBC_VARIAZIONE_OLO add constraint PK_MNP_DBC_VARIAZIONE primary key (NUM_TEL)
using index tablespace TAB_IDX_SMALL;

CREATE TABLE MNP.MNP_DBC_CESSAZIONE_OLO
(
TIPO_RECORD     CHAR(1),
NUM_TEL         VARCHAR2(15),
DATA            DATE
)
TABLESPACE TAB_SMALL;

ALTER TABLE MNP.MNP_DBC_CESSAZIONE_OLO add constraint PK_MNP_DBC_CESSAZIONE primary key (NUM_TEL)
using index tablespace TAB_IDX_SMALL;

-- CREAZIONE INDICI
create index IDX_MNP_GESTIONE_RICHIESTA_13 on MNP_GESTIONE_RICHIESTA (DATA_CUT_OVER_EFF)
tablespace TAB_IDX_HUGE_2_1 local;

create index IDX_MNP_GESTIONE_RICH_REC_11 on MNP_GESTIONE_RICHIESTA_REC (DATA_CUT_OVER_EFF)
tablespace TAB_IDX_HUGE_2_1 local;

CREATE INDEX IDX_MNP_GEST_RICH_DONOR_VIRT_4 ON MNP_GEST_RICH_DONOR_VIRT (DATA_CUT_OVER_EFF)
tablespace TAB_IDX_HUGE_2_1 local;

CREATE INDEX IDX_MNP_GEST_RICH_REC_VIRT_3 ON MNP_GEST_RICH_REC_VIRT (DATA_CUT_OVER_EFF)
tablespace TAB_IDX_HUGE_2_1 local;

CREATE INDEX IDX_MNP_GEST_RICH_PORTING_4 ON MNP_GESTIONE_RICHIESTA_PORTING (DATA_CUT_OVER)
tablespace TAB_IDX_HUGE_2_1;

CREATE INDEX IDX_MNP_GESTIONE_RICH_CESS_3 ON MNP_GESTIONE_RICHIESTA_CESS (DATA_CUT_OVER)
tablespace TAB_IDX_HUGE_2_1;

CREATE INDEX IDX_MNP_GEST_RICH_CESS_PORT_3 ON MNP_GESTIONE_RICH_CESS_PORT (DATA_CUT_OVER)
tablespace TAB_IDX_HUGE_2_1;
