CREATE TABLE mkt_cm_stg_allocs (
    ALLOC_ID                 NUMBER(18, 0) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    STAGE_ID                 NUMBER(18, 0) ,
    CALL_LST_ID              NUMBER(18, 0) ,
    TREATMENT_ID             NUMBER(18, 0) ,
    ALLOC_NUMBER             VARCHAR2(256)     NOT NULL,
    ALLOCATED_CNT            NUMBER(10, 0) ,
    ALLOCATED_PCT            NUMBER(22, 7) ,
    CTRL_GRP_PCT             NUMBER(22, 7) ,
    PCT_ALLOC_FLG            VARCHAR2(4)       NOT NULL,
    EXECUTE_FLG              VARCHAR2(4)       NOT NULL,
    DESC_TXT                 VARCHAR2(1000),
    SRC_CAMPAIGN_ID          NUMBER(18, 0) ,
    SRC_STAGE_ID             NUMBER(18, 0) ,
    RESP_TYPE_CODE           VARCHAR2(120) ,
    RESP_VALUE_CODE          VARCHAR2(120) ,
    LEAD_STATUS_CODE         VARCHAR2(120) ,
    LEAD_QUALITY_CODE        VARCHAR2(120) ,
    LEAD_RANK                VARCHAR2(120) ,
    SCORE_NUM                NUMBER(10, 0) ,
    SOURCE_CODE              VARCHAR2(400) ,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    ALLOC_ID                 NUMBER(18, 0) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    STAGE_ID                 NUMBER(18, 0) ,
    CALL_LST_ID              NUMBER(18, 0) ,
    TREATMENT_ID             NUMBER(18, 0) ,
    ALLOC_NUMBER             VARCHAR2(256)     NOT NULL,
    ALLOCATED_CNT            NUMBER(10, 0) ,
    ALLOCATED_PCT            NUMBER(22, 7) ,
    CTRL_GRP_PCT             NUMBER(22, 7) ,
    PCT_ALLOC_FLG            VARCHAR2(4)       NOT NULL,
    EXECUTE_FLG              VARCHAR2(4)       NOT NULL,
    DESC_TXT                 VARCHAR2(1000),
    SRC_CAMPAIGN_ID          NUMBER(18, 0) ,
    SRC_STAGE_ID             NUMBER(18, 0) ,
    RESP_TYPE_CODE           VARCHAR2(120) ,
    RESP_VALUE_CODE          VARCHAR2(120) ,
    LEAD_STATUS_CODE         VARCHAR2(120) ,
    LEAD_QUALITY_CODE        VARCHAR2(120) ,
    LEAD_RANK                VARCHAR2(120) ,
    SCORE_NUM                NUMBER(10, 0) ,
    SOURCE_CODE              VARCHAR2(400) ,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    CONSTRAINT pk_mkt_cm_stg_allocs PRIMARY KEY (ALLOC_ID, ALLOC_ID)
);
