CREATE TABLE msc_aggr_plan_profiles (
    PROFILE_ID               NUMBER(18, 0),
    PROFILE_NAME             VARCHAR2(256)    NOT NULL,
    PROFILE_DESCRIPTION      VARCHAR2(960),
    MEASURE_CATALOG_ID       NUMBER(18, 0),
    STATUS                   VARCHAR2(120)    NOT NULL,
    ATTRIBUTE1               VARCHAR2(960),
    ATTRIBUTE2               VARCHAR2(960),
    ATTRIBUTE3               VARCHAR2(960),
    ATTRIBUTE4               VARCHAR2(960),
    ATTRIBUTE_CATEGORY       VARCHAR2(120),
    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),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    PROFILE_ID               NUMBER(18, 0),
    PROFILE_NAME             VARCHAR2(256)    NOT NULL,
    PROFILE_DESCRIPTION      VARCHAR2(960),
    MEASURE_CATALOG_ID       NUMBER(18, 0),
    STATUS                   VARCHAR2(120)    NOT NULL,
    ATTRIBUTE1               VARCHAR2(960),
    ATTRIBUTE2               VARCHAR2(960),
    ATTRIBUTE3               VARCHAR2(960),
    ATTRIBUTE4               VARCHAR2(960),
    ATTRIBUTE_CATEGORY       VARCHAR2(120),
    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),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_msc_aggr_plan_profiles PRIMARY KEY (PROFILE_ID, PROFILE_ID)
);
