CREATE TABLE eec_rewards_b (
    REWARD_ID                NUMBER(18, 0),
    POSITION                 NUMBER       ,
    REWARD_CRITERIA          VARCHAR2(120),
    THRESHOLD                NUMBER(18, 2),
    ACTIVE_FLAG              VARCHAR2(4)  ,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    REWARD_ID                NUMBER(18, 0),
    POSITION                 NUMBER       ,
    REWARD_CRITERIA          VARCHAR2(120),
    THRESHOLD                NUMBER(18, 2),
    ACTIVE_FLAG              VARCHAR2(4)  ,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_eec_rewards_b PRIMARY KEY (REWARD_ID, REWARD_ID)
);
