CREATE TABLE hra_tmpl_period_qstnr (
    TMPL_PERIOD_QSTNR_ID     NUMBER(18, 0) ,
    BUSINESS_GROUP_ID        NUMBER(18, 0) ,
    TMPL_PERIOD_ID           NUMBER(18, 0)     NOT NULL,
    SECTION_ID               NUMBER(18, 0)     NOT NULL,
    TMPL_ROLE_ID             NUMBER(18, 0)     NOT NULL,
    QUESTIONNAIRE_ID         NUMBER(18, 0) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    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) ,
    MODULE_ID                VARCHAR2(128) ,
    TMPL_PERIOD_QSTNR_ID     NUMBER(18, 0) ,
    BUSINESS_GROUP_ID        NUMBER(18, 0) ,
    TMPL_PERIOD_ID           NUMBER(18, 0)     NOT NULL,
    SECTION_ID               NUMBER(18, 0)     NOT NULL,
    TMPL_ROLE_ID             NUMBER(18, 0)     NOT NULL,
    QUESTIONNAIRE_ID         NUMBER(18, 0) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    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) ,
    MODULE_ID                VARCHAR2(128) ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    CONSTRAINT pk_hra_tmpl_period_qstnr PRIMARY KEY (TMPL_PERIOD_QSTNR_ID, BUSINESS_GROUP_ID, TMPL_PERIOD_QSTNR_ID, BUSINESS_GROUP_ID)
);
