--------------------------------------------------------
--  DDL for Table TMS_SDM_ENTITY_STATE
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."TMS_SDM_ENTITY_STATE" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"ID" NUMBER(12,0), 
	"KEY_ID" NUMBER(12,0), 
	"STATE_ID" NUMBER(12,0), 
	"STATE_NAME" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"STATE_EDIT_ALLOWED" NUMBER(12,0), 
	"NO_STATE_TRANSITION" NUMBER(12,0), 
	"CATEGORY" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"STATUS" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"ENTITY_NAME" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"ENTERED_BY" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"UPDATED_BY" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"INITIATED_BY" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"ENTITY_TYPE" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"STATE_LOG_UPDATED_BY" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"STATE_LOG_FROM_STATE" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"STATE_LOG_TO_STATE" VARCHAR2(2048 CHAR) COLLATE "USING_NLS_COMP", 
	"STATE_LOG_UPDATE_TIME" DATE
   )  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" ;
