CREATE TABLE cn_rs_usage_details_all (
    USAGE_DETAIL_ID          NUMBER(18, 0) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    ORG_ID                   NUMBER(18, 0) ,
    USAGE_ID                 NUMBER(18, 0)     NOT NULL,
    USAGE_SUBTYPE            VARCHAR2(120) ,
    VERSION_NAME             VARCHAR2(120)     NOT NULL,
    ENABLED_FLAG             VARCHAR2(4)   ,
    REAL_TIME_SELECT         CLOB          ,
    REAL_TIME_INSERT         CLOB          ,
    BATCH_TOTAL_SQL          CLOB          ,
    BATCH_TOTAL_FROM         CLOB          ,
    RTIME_TOTAL_FROM         CLOB          ,
    BATCH_TOTAL_WHERE        CLOB          ,
    RTIME_TOTAL_WHERE        CLOB          ,
    BATCH_INCR_SQL           CLOB          ,
    INCR_REASSIGN_SQL        CLOB          ,
    MODULE_ID                VARCHAR2(128) ,
    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) ,
    ATTRIBUTE_CATEGORY       VARCHAR2(120) ,
    ATTRIBUTE1               VARCHAR2(960) ,
    ATTRIBUTE2               VARCHAR2(960) ,
    ATTRIBUTE3               VARCHAR2(960) ,
    ATTRIBUTE4               VARCHAR2(960) ,
    ATTRIBUTE5               VARCHAR2(960) ,
    ATTRIBUTE6               VARCHAR2(960) ,
    ATTRIBUTE7               VARCHAR2(960) ,
    ATTRIBUTE8               VARCHAR2(960) ,
    ATTRIBUTE9               VARCHAR2(960) ,
    ATTRIBUTE10              VARCHAR2(960) ,
    ATTRIBUTE11              VARCHAR2(960) ,
    ATTRIBUTE12              VARCHAR2(960) ,
    ATTRIBUTE13              VARCHAR2(960) ,
    ATTRIBUTE14              VARCHAR2(960) ,
    ATTRIBUTE15              VARCHAR2(960) ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    USAGE_DETAIL_ID          NUMBER(18, 0) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    ORG_ID                   NUMBER(18, 0) ,
    USAGE_ID                 NUMBER(18, 0)     NOT NULL,
    USAGE_SUBTYPE            VARCHAR2(120) ,
    VERSION_NAME             VARCHAR2(120)     NOT NULL,
    ENABLED_FLAG             VARCHAR2(4)   ,
    REAL_TIME_SELECT         CLOB          ,
    REAL_TIME_INSERT         CLOB          ,
    BATCH_TOTAL_SQL          CLOB          ,
    BATCH_TOTAL_FROM         CLOB          ,
    BATCH_TOTAL_WHERE        CLOB          ,
    BATCH_INCR_SQL           CLOB          ,
    INCR_REASSIGN_SQL        CLOB          ,
    MODULE_ID                VARCHAR2(128) ,
    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) ,
    ATTRIBUTE_CATEGORY       VARCHAR2(120) ,
    ATTRIBUTE1               VARCHAR2(960) ,
    ATTRIBUTE2               VARCHAR2(960) ,
    ATTRIBUTE3               VARCHAR2(960) ,
    ATTRIBUTE4               VARCHAR2(960) ,
    ATTRIBUTE5               VARCHAR2(960) ,
    ATTRIBUTE6               VARCHAR2(960) ,
    ATTRIBUTE7               VARCHAR2(960) ,
    ATTRIBUTE8               VARCHAR2(960) ,
    ATTRIBUTE9               VARCHAR2(960) ,
    ATTRIBUTE10              VARCHAR2(960) ,
    ATTRIBUTE11              VARCHAR2(960) ,
    ATTRIBUTE12              VARCHAR2(960) ,
    ATTRIBUTE13              VARCHAR2(960) ,
    ATTRIBUTE14              VARCHAR2(960) ,
    ATTRIBUTE15              VARCHAR2(960) ,
    RTIME_TOTAL_FROM         CLOB          ,
    RTIME_TOTAL_WHERE        CLOB          ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    CONSTRAINT pk_cn_rs_usage_details_all PRIMARY KEY (USAGE_DETAIL_ID, ORG_ID, USAGE_DETAIL_ID, ORG_ID)
);
