CREATE TABLE "GNP"."GNP_RICHIESTE_D82"
   (	"ID_RICHIESTA" NUMBER NOT NULL ENABLE,
	"CODICE_SESSIONE" VARCHAR2(50 BYTE),
	"COW_DONATING" VARCHAR2(3 BYTE),
	"COW_RECIPIENT" VARCHAR2(3 BYTE),
	"CODICE_ORDINE_RECIPIENT" VARCHAR2(18 BYTE),
	"DATA_RICEZIONE" DATE NOT NULL ENABLE,
	"DN" VARCHAR2(12 BYTE),
	"STATO" NUMBER(2,0) NOT NULL ENABLE,
	"CRM_COMPETENZA" VARCHAR2(1 BYTE),
	"DFW" DATE,
	"DATA_SCADENZA" DATE,
	"DATA_PRESAINCARICO" DATE,
	"KO_NON_INVIATO" VARCHAR2(1 BYTE),
	"COD_PRESAINCARICO" NUMBER(1,0),
	"COD_VALIDAZIONE" NUMBER(1,0),
	"CODICE_ESITO_PRENOTIFICA" VARCHAR2(8 BYTE),
	"DESCR_ESITO_PRENOTIFICA" VARCHAR2(255 BYTE),
	"DATA_INVIO_PRENOTIFICA" DATE,
	"DAC" DATE,
	 CONSTRAINT "PK_GNP_RICHIESTE_D82" PRIMARY KEY ("ID_RICHIESTA")
  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_DATA_SMALL"  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_SMALL" ;

   COMMENT ON COLUMN "GNP"."GNP_RICHIESTE_D82"."DAC" IS 'For DBCFX_SM_417 - DAC obbligatoria in CustomerOrderNPMgmt ';

  CREATE INDEX "GNP"."GA_IDX_OLORICD82_01" ON "GNP"."GNP_RICHIESTE_D82" ("DFW", "STATO")
  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_RICHIESTE_D82_DN" ON "GNP"."GNP_RICHIESTE_D82" ("DN")
  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_DATA_SMALL" ;

  CREATE UNIQUE INDEX "GNP"."IDX_U_RICHIESTE_D82" ON "GNP"."GNP_RICHIESTE_D82" ("CODICE_SESSIONE")
  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_DATA_SMALL" ;