CREATE TABLE "GNP"."GNP_NNG_FENP_RICH_IN" 
   (	"PROG_ID" NUMBER NOT NULL ENABLE, 
	"DA_PROCESSARE" NUMBER(1,0) NOT NULL ENABLE, 
	"DATA_CREAZIONE" DATE DEFAULT SYSDATE, 
	"NOME_FILE" VARCHAR2(50 BYTE), 
	"ID_RICHIESTA" NUMBER DEFAULT 0 NOT NULL ENABLE, 
	"CODICE_ORDINE" VARCHAR2(18 BYTE), 
	"DATA_ORDINE" DATE, 
	"NNG" VARCHAR2(12 BYTE), 
	"TIPO_COMUNICAZIONE" VARCHAR2(2 BYTE) DEFAULT '1' NOT NULL ENABLE, 
	"TIPO_SERVIZIO" VARCHAR2(1 BYTE), 
	"COD_OP_RECIPIENT" VARCHAR2(3 BYTE), 
	"COD_OP_DONATING" VARCHAR2(3 BYTE), 
	"COD_OP" VARCHAR2(3 BYTE), 
	"COD_OP_RETURNING" VARCHAR2 (3 BYTE),
	"DAC" DATE, 
	"RDAC" DATE,
	"COD_FISCALE" VARCHAR2(16 BYTE), 
	"PARTITA_IVA" VARCHAR2(11 BYTE), 
	"CODICE_PROGETTO" VARCHAR2(10 BYTE), 
	"STATO_ORDINE" VARCHAR2(2 BYTE), 
	"COD_MOTIVO_RIFIUTO" VARCHAR2(2 BYTE),
	"DESC_MOTIVO_RIFIUTO" VARCHAR2(255 BYTE),
	"DATA_ESPLETAMENTO" DATE,
	 CONSTRAINT "PK_GNP_NNG_FENP_RICH_IN" PRIMARY KEY ("PROG_ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "GNP_IDX_BIG"  ENABLE
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 
 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "GNP_DATA_BIG" ;

  CREATE INDEX "GNP"."GA_IDX_NNG_FENPRICIN02" ON "GNP"."GNP_NNG_FENP_RICH_IN" ("DATA_CREAZIONE") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "GNP_IDX_BIG" ;

  CREATE INDEX "GNP"."GA_IDX_NNG_FENPRICIN03" ON "GNP"."GNP_NNG_FENP_RICH_IN" ("CODICE_ORDINE") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "GNP_IDX_BIG" ;

  CREATE INDEX "GNP"."IDX_GNP_NNG_FENP_RICH_IN_1" ON "GNP"."GNP_NNG_FENP_RICH_IN" ("DA_PROCESSARE") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "GNP_IDX_BIG" ;

  CREATE INDEX "GNP"."IDX_GNP_NNG_FENP_RICH_IN_2" ON "GNP"."GNP_NNG_FENP_RICH_IN" ("NOME_FILE") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "GNP_IDX_BIG" ;

  CREATE INDEX "GNP"."IDX_GNP_NNG_FENP_RICH_IN_3" ON "GNP"."GNP_NNG_FENP_RICH_IN" ("ID_RICHIESTA") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "GNP_IDX_BIG" ;