~~~BEGIN_MAIN_SECTION~~~
[PRODUCT]
table=SRC_CSV_STATE_OF_DC_HISTORICAL_TB
~~~END_MAIN_SECTION~~~

~~~BEGIN_VERSION_SECTION~~~
[VERSION]
version=2025-11-04

[SQL_SCRIPT___DEFAULT]

--------------------------------------------------------
--  DDL for Table SRC_CSV_STATE_OF_DC_HISTORICAL_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_CSV_STATE_OF_DC_HISTORICAL_TB" 
   (	"DDATE" DATE, 
	"DC" VARCHAR2(40 BYTE) COLLATE "USING_NLS_COMP", 
	"ALL_MINUTES" NUMBER, 
	"DOWN_MINUTES" NUMBER, 
	"NUMBER_OF_CUSTOMERS" NUMBER
   )  DEFAULT COLLATION "USING_NLS_COMP" SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 
 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING LOGGING
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_CSV_STATE_OF_DC_HISTORICAL_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_CSV_STATE_OF_DC_HISTORICAL_TB_PK" ON "OTHQ_OWN"."SRC_CSV_STATE_OF_DC_HISTORICAL_TB" ("DDATE", "DC") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_CSV_STATE_OF_DC_HISTORICAL_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_CSV_STATE_OF_DC_HISTORICAL_TB" MODIFY ("DDATE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_CSV_STATE_OF_DC_HISTORICAL_TB" MODIFY ("DC" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_CSV_STATE_OF_DC_HISTORICAL_TB" ADD CONSTRAINT "SRC_CSV_STATE_OF_DC_HISTORICAL_TB_PK" PRIMARY KEY ("DDATE", "DC")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;


~~~END_VERSION_SECTION~~~