CREATE TABLE hts_sched_profile_rules (
    SCHED_PROFILE_RULE_ID      NUMBER(18, 0),
    OBJECT_VERSION_NUMBER      NUMBER(9, 0)     NOT NULL,
    ENTERPRISE_ID              NUMBER(18, 0)    NOT NULL,
    SCHED_PROFILE_RULE_CODE    VARCHAR2(120)    NOT NULL,
    SCHED_GEN_PROFILE_ID       NUMBER(18, 0)    NOT NULL,
    SCHEDULING_RULE_CODE       VARCHAR2(120)    NOT NULL,
    MIN_VALUE_NUM              NUMBER       ,
    MAX_VALUE_NUM              NUMBER       ,
    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),
    SCHED_PROFILE_RULE_ID      NUMBER(18, 0),
    OBJECT_VERSION_NUMBER      NUMBER(9, 0)     NOT NULL,
    ENTERPRISE_ID              NUMBER(18, 0)    NOT NULL,
    SCHED_PROFILE_RULE_CODE    VARCHAR2(120)    NOT NULL,
    SCHED_GEN_PROFILE_ID       NUMBER(18, 0)    NOT NULL,
    SCHEDULING_RULE_CODE       VARCHAR2(120)    NOT NULL,
    MIN_VALUE_NUM              NUMBER       ,
    MAX_VALUE_NUM              NUMBER       ,
    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_hts_sched_profile_rules PRIMARY KEY (SCHED_PROFILE_RULE_ID, SCHED_PROFILE_RULE_ID)
);
