--------------------------------------------------------
--  DDL for Table SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" 
   (	"DOC_COUNT" NUMBER, 
	"TIMESTAMP" DATE, 
	"INDEX_" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"STYPE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"SRECORDTYPE" VARCHAR2(512 BYTE) COLLATE "USING_NLS_COMP", 
	"KINTEGRATIONAPPLICATIONDEF" NUMBER, 
	"SACCOUNTTYPE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"SAUTHENTICATIONMETHOD" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"SINTEGRATIONAPPLICATIONNAME" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"SACTION" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"SDCID" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"SAPIVERSION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"SSTATE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"SCOMPID" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"NRESPONSECODE" NUMBER, 
	"SSERVICETYPE" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"METADATA_REGION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
	"SINTEGRATIONAPPLICATIONID" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"SINTEGRATIONAPPLICATIONSCRIPTID" VARCHAR2(32 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_OSEARCH_WEBSERVICESEXECUTION_RABI_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB_PK" ON "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" ("TIMESTAMP", "METADATA_REGION", "SACTION", "SRECORDTYPE", "SACCOUNTTYPE", "STYPE", "SCOMPID") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" MODIFY ("TIMESTAMP" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" MODIFY ("STYPE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" MODIFY ("SRECORDTYPE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" MODIFY ("SACCOUNTTYPE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" MODIFY ("SACTION" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" MODIFY ("SCOMPID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" MODIFY ("METADATA_REGION" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB" ADD CONSTRAINT "SRC_OSEARCH_WEBSERVICESEXECUTION_RABI_TB_PK" PRIMARY KEY ("TIMESTAMP", "METADATA_REGION", "SACTION", "SRECORDTYPE", "SACCOUNTTYPE", "STYPE", "SCOMPID")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;
