CREATE TABLE mow_batch_asgn_jobs (
    JOB_ID                   NUMBER(18, 0),
    NO_OF_TIMES_RESTARTED    NUMBER(2, 0) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    JOB_CHUNK_ID             NUMBER(18, 0)    NOT NULL,
    ESS_REQUEST_ID           NUMBER(18, 0)    NOT NULL,
    JOB_ITEM_COUNT           NUMBER(18, 0),
    REQUEST_NUMBER           NUMBER       ,
    JOB_STATUS               NUMBER(1, 0)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    JOB_START_DATE           TIMESTAMP(6) ,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    JOB_ID                   NUMBER(18, 0),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    JOB_CHUNK_ID             NUMBER(18, 0)    NOT NULL,
    ESS_REQUEST_ID           NUMBER(18, 0)    NOT NULL,
    JOB_ITEM_COUNT           NUMBER(18, 0),
    JOB_STATUS               NUMBER(1, 0)     NOT NULL,
    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),
    NO_OF_TIMES_RESTARTED    NUMBER(2, 0) ,
    JOB_START_DATE           TIMESTAMP(6) ,
    REQUEST_NUMBER           NUMBER       ,
    CONSTRAINT pk_mow_batch_asgn_jobs PRIMARY KEY (JOB_ID, JOB_ID)
);
