CREATE TABLE atk_qb_qry_rslt_values (
    RESULT_VALUE_ID           NUMBER(18, 0) ,
    QUERY_ID                  NUMBER(18, 0)     NOT NULL,
    RESULT_ID                 NUMBER(18, 0)     NOT NULL,
    RESULT_VALUE              VARCHAR2(4000),
    NUMBER_RESULT_VALUE       NUMBER        ,
    DATE_RESULT_VALUE         DATE          ,
    ATTRIBUTE_REFERENCE_ID    NUMBER(18, 0) ,
    VALUESET_STRING_VALUE     VARCHAR2(960) ,
    VALUESET_NUMBER_VALUE     NUMBER        ,
    VALUESET_DATE_VALUE       DATE          ,
    CREATION_DATE             TIMESTAMP(6)      NOT NULL,
    CREATED_BY                VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE          TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY           VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN         VARCHAR2(128) ,
    OBJECT_VERSION_NUMBER     NUMBER(9, 0)      NOT NULL,
    RESULT_VALUE_ID           NUMBER(18, 0) ,
    QUERY_ID                  NUMBER(18, 0)     NOT NULL,
    RESULT_ID                 NUMBER(18, 0)     NOT NULL,
    RESULT_VALUE              VARCHAR2(4000),
    NUMBER_RESULT_VALUE       NUMBER        ,
    DATE_RESULT_VALUE         DATE          ,
    ATTRIBUTE_REFERENCE_ID    NUMBER(18, 0) ,
    VALUESET_STRING_VALUE     VARCHAR2(960) ,
    VALUESET_NUMBER_VALUE     NUMBER        ,
    VALUESET_DATE_VALUE       DATE          ,
    CREATION_DATE             TIMESTAMP(6)      NOT NULL,
    CREATED_BY                VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE          TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY           VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN         VARCHAR2(128) ,
    OBJECT_VERSION_NUMBER     NUMBER(9, 0)      NOT NULL,
    CONSTRAINT pk_atk_qb_qry_rslt_values PRIMARY KEY (RESULT_VALUE_ID, RESULT_VALUE_ID)
);
