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


~~~BEGIN_VERSION_SECTION~~~
[VERSION]
version=2026-01-11

[SQL_SCRIPT___DEFAULT]


--------------------------------------------------------
--  DDL for Table SRC_OPENSEARCH_ATP_DBCONNS_V2_TB
--------------------------------------------------------

	CREATE TABLE SRC_OPENSEARCH_ATP_DBCONNS_V2_TB (
	"WEEK" DATE,
	"MOLECULE" VARCHAR2(32 BYTE),
	"REGION" VARCHAR2(3 BYTE),
	"ERROR_CODE" NUMBER,
	"RESULT" VARCHAR2(16 BYTE),
	"EXE_CNT" NUMBER,
	"ATP_CNT" NUMBER,
	"ERROR_CODE_COUNT" 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_V2_TB_PK
--------------------------------------------------------

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

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

~~~END_VERSION_SECTION~~~