--------------------------------------------------------
--  DDL for Table TMS_ACTIVITY_INTERVAL
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."TMS_ACTIVITY_INTERVAL" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"BUSINESS_DAYS_P" VARCHAR2(10 CHAR) COLLATE "USING_NLS_COMP", 
	"CONDITIONAL_INTERVAL_P" VARCHAR2(10 CHAR) COLLATE "USING_NLS_COMP", 
	"DOMAIN_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"END_DATE" DATE, 
	"FIRST_P" VARCHAR2(10 CHAR) COLLATE "USING_NLS_COMP", 
	"GROUP_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"OWNER_ID" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_1" VARCHAR2(999 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_10" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_11" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_12" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_13" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_14" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_15" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_16" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_17" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_18" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_19" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_2" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_20" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_21" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_22" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_23" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_24" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_25" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_26" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_27" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_28" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_29" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_3" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_30" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_4" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_5" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_6" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_7" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_8" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PARAMETER_9" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"PREREQUISITE_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"PREREQUISITE_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"SERVICE_GROUP" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"SERVICE_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"START_DATE" DATE, 
	"TIME_ZONE_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"TYPE_NAME" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVITYINTERVAL_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVITYINTERVAL_NUMBER" NUMBER(10,0), 
	"ACTIVITYINTERVAL_STAMP" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVITYINTERVAL_UNIT_COUNT" NUMBER(10,0), 
	"ACTIVITYINTERVAL_UNIT_TYPE_ID" NUMBER(10,0), 
	"ACTIVITYINTERVAL_UNIT_TYPE_SID" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVITYINTERVAL_VALID_FROM_TIME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVITYINTERVAL_VALID_FROM_TIME_UTC" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVITYINTERVAL_VALID_TO_TIME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVITYINTERVAL_VALID_TO_TIME_UTC" VARCHAR2(255 CHAR) 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" ;
