--------------------------------------------------------
--  DDL for Table SYSTEM_PARAMETER
--------------------------------------------------------

  CREATE TABLE "ENVX_OPER"."SYSTEM_PARAMETER" 
   (	"PARAMETER_NAME" VARCHAR2(100 BYTE), 
	"ID_STATUS_PARAMETER" NUMBER, 
	"CREATION_DATE" DATE, 
	"UNIQUE_PARAM_VALUE" NUMBER DEFAULT 1, 
	"PARAMATER_FUNC_NAME" VARCHAR2(100 BYTE), 
	"ID_PARAMETER_TYPE" NUMBER, 
	"PARAMETER_VALUE" CLOB
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 
 NOCOMPRESS LOGGING
  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 "APEX_3800503980117141" 
 LOB ("PARAMETER_VALUE") STORE AS SECUREFILE (
  TABLESPACE "APEX_3800503980117141" ENABLE STORAGE IN ROW 4000 CHUNK 8192
  NOCACHE LOGGING  NOCOMPRESS  KEEP_DUPLICATES 
  STORAGE(INITIAL 262144 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)) ;

   COMMENT ON COLUMN "ENVX_OPER"."SYSTEM_PARAMETER"."UNIQUE_PARAM_VALUE" IS '0: Valor no unico / 1: Valor unico';
   COMMENT ON COLUMN "ENVX_OPER"."SYSTEM_PARAMETER"."ID_PARAMETER_TYPE" IS '0 - Texto / 1 - Numero 7 2 - Fecha / 3- JSON';
  GRANT SELECT ON "ENVX_OPER"."SYSTEM_PARAMETER" TO "ENVX_AUDIT";
