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


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

[SQL_SCRIPT___DEFAULT]


--------------------------------------------------------
--  DDL for Table SRC_OPENSEARCH_ATP_DBCONNS_TB
--------------------------------------------------------

	CREATE TABLE SRC_OPENSEARCH_ATP_DBCONNS_TB (
	"WEEK" DATE,
	"MOLECULE" VARCHAR2(16 BYTE),
	"REGION" VARCHAR2(3 BYTE),
	"DC" VARCHAR2(16 BYTE),
	"RESULT" VARCHAR2(16 BYTE),
	"EXE_CNT" NUMBER,
	"ATP_CNT" 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_OPENSEARCH_ATP_DBCONNS_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_OPENSEARCH_ATP_DBCONNS_TB_PK" ON "OTHQ_OWN"."SRC_OPENSEARCH_ATP_DBCONNS_TB" ("WEEK", "MOLECULE", "REGION", "DC", "RESULT") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_OPENSEARCH_ATP_DBCONNS_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_OPENSEARCH_ATP_DBCONNS_TB" MODIFY ("WEEK" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OPENSEARCH_ATP_DBCONNS_TB" MODIFY ("MOLECULE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OPENSEARCH_ATP_DBCONNS_TB" MODIFY ("REGION" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OPENSEARCH_ATP_DBCONNS_TB" MODIFY ("DC" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OPENSEARCH_ATP_DBCONNS_TB" MODIFY ("RESULT" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OPENSEARCH_ATP_DBCONNS_TB" ADD CONSTRAINT "SRC_OPENSEARCH_ATP_DBCONNS_TB_PK" PRIMARY KEY ("WEEK", "MOLECULE", "REGION", "DC", "RESULT")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;

~~~END_VERSION_SECTION~~~