--------------------------------------------------------
--  DDL for Table SRC_HORIZON_EXADATA_MAXDTE_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_HORIZON_EXADATA_MAXDTE_TB" 
   (	"RECORD_DATE" DATE, 
	"CEI_ID" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"NAME" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"HW_GENERATION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"REGION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"AD" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"FABRIC_NAME" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_NAME" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"DISPLAY_NAME" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"TOTAL_DB" NUMBER, 
	"TOTAL_HC" NUMBER, 
	"CANONICAL_REGION" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"CANONICAL_AD" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"CANONICAL_BUILDING" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"BUILDING" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"CANONICAL_ROOM" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"ROOM" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP"
   )  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_HORIZON_EXADATA_MAXDTE_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_HORIZON_EXADATA_MAXDTE_TB_PK" ON "OTHQ_OWN"."SRC_HORIZON_EXADATA_MAXDTE_TB" ("NAME", "RECORD_DATE") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_HORIZON_EXADATA_MAXDTE_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_HORIZON_EXADATA_MAXDTE_TB" MODIFY ("RECORD_DATE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_HORIZON_EXADATA_MAXDTE_TB" MODIFY ("NAME" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_HORIZON_EXADATA_MAXDTE_TB" ADD CONSTRAINT "SRC_HORIZON_EXADATA_MAXDTE_TB_PK" PRIMARY KEY ("NAME", "RECORD_DATE")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;
