CREATE TABLE hns_risk_assessments (
    RISK_ASSESSMENT_ID       NUMBER(18, 0),
    TASK_ID                  NUMBER(18, 0)    NOT NULL,
    TASK_TYPE_CODE           VARCHAR2(120),
    CONSEQUENCE_CODE         VARCHAR2(120),
    LIKELIHOOD_CODE          VARCHAR2(120),
    RISK_ASSESSMENT_DATE     TIMESTAMP(6) ,
    DELETED_FLAG             VARCHAR2(4)  ,
    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,
    ATTRIBUTE_CATEGORY       VARCHAR2(120),
    ATTRIBUTE1               VARCHAR2(600),
    ATTRIBUTE2               VARCHAR2(600),
    ATTRIBUTE3               VARCHAR2(600),
    ATTRIBUTE4               VARCHAR2(600),
    ATTRIBUTE5               VARCHAR2(600),
    ATTRIBUTE_NUMBER1        NUMBER       ,
    ATTRIBUTE_NUMBER2        NUMBER       ,
    ATTRIBUTE_NUMBER3        NUMBER       ,
    ATTRIBUTE_NUMBER4        NUMBER       ,
    ATTRIBUTE_NUMBER5        NUMBER       ,
    ATTRIBUTE_TIMESTAMP1     TIMESTAMP(6) ,
    ATTRIBUTE_TIMESTAMP2     TIMESTAMP(6) ,
    RISK_ASSESSMENT_ID       NUMBER(18, 0),
    TASK_ID                  NUMBER(18, 0)    NOT NULL,
    TASK_TYPE_CODE           VARCHAR2(120),
    CONSEQUENCE_CODE         VARCHAR2(120),
    LIKELIHOOD_CODE          VARCHAR2(120),
    RISK_ASSESSMENT_DATE     TIMESTAMP(6) ,
    DELETED_FLAG             VARCHAR2(4)  ,
    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,
    ATTRIBUTE_CATEGORY       VARCHAR2(120),
    ATTRIBUTE1               VARCHAR2(600),
    ATTRIBUTE2               VARCHAR2(600),
    ATTRIBUTE3               VARCHAR2(600),
    ATTRIBUTE4               VARCHAR2(600),
    ATTRIBUTE5               VARCHAR2(600),
    ATTRIBUTE_NUMBER1        NUMBER       ,
    ATTRIBUTE_NUMBER2        NUMBER       ,
    ATTRIBUTE_NUMBER3        NUMBER       ,
    ATTRIBUTE_NUMBER4        NUMBER       ,
    ATTRIBUTE_NUMBER5        NUMBER       ,
    ATTRIBUTE_TIMESTAMP1     TIMESTAMP(6) ,
    ATTRIBUTE_TIMESTAMP2     TIMESTAMP(6) ,
    CONSTRAINT pk_hns_risk_assessments PRIMARY KEY (RISK_ASSESSMENT_ID, RISK_ASSESSMENT_ID)
);
