--------------------------------------------------------
--  DDL for Table TMS_PORTFOLIO
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."TMS_PORTFOLIO" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"ECBOPERATION" CHAR(6 CHAR) COLLATE "USING_NLS_COMP", 
	"ECBTS" DATE, 
	"ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"CLIENT_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"DOMAIN_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"OPENING_DATE" DATE, 
	"VALUATE_FLAGS" NUMBER(28,0), 
	"FLAGS" VARCHAR2(100 CHAR) COLLATE "USING_NLS_COMP", 
	"NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"TEMPLATE_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"CURRENCY_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"CLOSING_DATE" DATE, 
	"USER_ID" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"RISK_RATE" NUMBER(28,10), 
	"CLIENT_UNIT" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"STAMP" NUMBER(28,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" ;
