CREATE TABLE grc_rsk_criteria_h (
    RISK_CRITERIA_ID         NUMBER(18, 0) ,
    EFFECTIVE_SEQUENCE       NUMBER(4, 0)  ,
    RISK_CONTEXT_MODEL_ID    NUMBER(18, 0)     NOT NULL,
    REVISION_DATE            TIMESTAMP(6)      NOT NULL,
    SEQUENCE                 NUMBER(4, 0)      NOT NULL,
    CRITERIA_NAME_ID         NUMBER(18, 0) ,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    IS_ACTIVE                NUMBER(1, 0)  ,
    IS_SEEDED                NUMBER(1, 0)  ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    RISK_CRITERIA_ID         NUMBER(18, 0) ,
    EFFECTIVE_SEQUENCE       NUMBER(4, 0)  ,
    RISK_CONTEXT_MODEL_ID    NUMBER(18, 0)     NOT NULL,
    REVISION_DATE            TIMESTAMP(6)      NOT NULL,
    SEQUENCE                 NUMBER(4, 0)      NOT NULL,
    CRITERIA_NAME_ID         NUMBER(18, 0) ,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    IS_ACTIVE                NUMBER(1, 0)  ,
    IS_SEEDED                NUMBER(1, 0)  ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    CONSTRAINT pk_grc_rsk_criteria_h PRIMARY KEY (RISK_CRITERIA_ID, EFFECTIVE_SEQUENCE, RISK_CRITERIA_ID, EFFECTIVE_SEQUENCE)
);
