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

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

[SQL_SCRIPT___DEFAULT]

--------------------------------------------------------
--  DDL for Table SRC_SMD_ACCOUNTS2_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB" 
   (	"PDBID" NUMBER, 
	"INACTIVE" NUMBER, 
	"NAME" VARCHAR2(256 BYTE) COLLATE "USING_NLS_COMP", 
	"ACCOUNTTYPE" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"USABLE" NUMBER, 
	"NOTE" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"DCID" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"VERSIONMAJOR" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"LASTMODIFIED" DATE, 
	"COMPID" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP"
   )  DEFAULT COLLATION "USING_NLS_COMP" SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 
 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING 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 "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_SMD_ACCOUNTS2_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB_PK" ON "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB" ("PDBID", "COMPID", "LASTMODIFIED") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  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 "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_SMD_ACCOUNTS2_TB_INDEX1
--------------------------------------------------------

  CREATE INDEX "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB_INDEX1" ON "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB" ("ACCOUNTTYPE") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  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 "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_SMD_ACCOUNTS2_TB_INDEX2
--------------------------------------------------------

  CREATE INDEX "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB_INDEX2" ON "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB" ("DCID") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  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 "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_SMD_ACCOUNTS2_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB" MODIFY ("PDBID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB" MODIFY ("LASTMODIFIED" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB" MODIFY ("COMPID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB" ADD CONSTRAINT "SRC_SMD_ACCOUNTS2_TB_PK" PRIMARY KEY ("PDBID", "COMPID", "LASTMODIFIED")
  USING INDEX "OTHQ_OWN"."SRC_SMD_ACCOUNTS2_TB_PK"  ENABLE;

~~~END_VERSION_SECTION~~~