CREATE TABLE fmk_d_tags (
    TAG_ID                   NUMBER(18, 0) ,
    TAG_CATEGORY_ID          NUMBER(18, 0)     NOT NULL,
    TAG                      VARCHAR2(1020),
    DISPLAY_NAME             VARCHAR2(1020),
    PARENT_TAG_ID            NUMBER        ,
    IS_ACTIVE                VARCHAR2(4)       NOT NULL,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    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,
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    TAG_ID                   NUMBER(18, 0) ,
    TAG_CATEGORY_ID          NUMBER(18, 0)     NOT NULL,
    TAG                      VARCHAR2(1020),
    DISPLAY_NAME             VARCHAR2(1020),
    PARENT_TAG_ID            NUMBER        ,
    IS_ACTIVE                VARCHAR2(4)       NOT NULL,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    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,
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    CONSTRAINT pk_fmk_d_tags PRIMARY KEY (TAG_ID, TAG_ID)
);
