CREATE TABLE atc_usage_spec_rels (
    USAGE_SPEC_REL_ID        NUMBER(18, 0) ,
    USAGE_SPEC_REL_PUID      VARCHAR2(120)     NOT NULL,
    USAGE_SPEC_REL_NAME      VARCHAR2(800)     NOT NULL,
    USAGE_SPEC_REL_HREF      VARCHAR2(4000),
    REL_TYPE_CODE            VARCHAR2(800)     NOT NULL,
    START_DATE_TIME          TIMESTAMP(6)  ,
    END_DATE_TIME            TIMESTAMP(6)  ,
    AT_TYPE                  VARCHAR2(800) ,
    AT_BASE_TYPE             VARCHAR2(800) ,
    AT_SCHEMA_LOCATION       VARCHAR2(4000),
    VERSION_STATE            NUMBER(2, 0)  ,
    USAGE_SPEC_ID            NUMBER(18, 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) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    USAGE_SPEC_REL_ID        NUMBER(18, 0) ,
    USAGE_SPEC_REL_PUID      VARCHAR2(120)     NOT NULL,
    USAGE_SPEC_REL_NAME      VARCHAR2(800)     NOT NULL,
    USAGE_SPEC_REL_HREF      VARCHAR2(4000),
    REL_TYPE_CODE            VARCHAR2(800)     NOT NULL,
    START_DATE_TIME          TIMESTAMP(6)  ,
    END_DATE_TIME            TIMESTAMP(6)  ,
    AT_TYPE                  VARCHAR2(800) ,
    AT_BASE_TYPE             VARCHAR2(800) ,
    AT_SCHEMA_LOCATION       VARCHAR2(4000),
    USAGE_SPEC_ID            NUMBER(18, 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) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    VERSION_STATE            NUMBER(2, 0)  ,
    CONSTRAINT pk_atc_usage_spec_rels PRIMARY KEY (USAGE_SPEC_REL_ID, USAGE_SPEC_REL_ID)
);
