--------------------------------------------------------
--  DDL for Table TOP_ALLOTMENT
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."TOP_ALLOTMENT" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"REF_NO" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"SENDER_REF" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"USER_REF" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"TIMESTAMP" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"VERSION" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"AMOUNT" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"NUMBER_BIDDERS" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"CUTOFF_LEVEL" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"AMNT_ALLOTED" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"MIN_ALLOTMENT" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"PERC_ALLOTED" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"MARGINAL_RATE_TYPE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"MARGINAL_RATE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"MIN_RATE_TYPE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"MIN_RATE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"MAX_RATE_TYPE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"MAX_RATE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"AVG_RATE_TYPE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"AVG_RATE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"SPOT_RATE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"FREE_TEXT" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"CHECKSUM" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"ISIN" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"REF_ENTITY" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"REF_ENTITY_VALUE" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"SPOT_RATE_WITH_MARGIN" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"TIMESTAMP_SENDER" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"ID" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"REPAID_REF_NO" VARCHAR2(4000 CHAR) COLLATE "USING_NLS_COMP", 
	"REVISION" NUMBER(*,0)
   )  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" ;
