首页> 外国专利> Database Language Extended to Accommodate Entity-Relationship Models

Database Language Extended to Accommodate Entity-Relationship Models

机译:数据库语言扩展为适应实体关系模型

摘要

Embodiments extend the relational model and language of standard SQL, to recognize features of higher level entity-relationship models (ERMs). SQL extensions implemented in the data design language (DDL) incorporate Entities (and Views) having custom-defined/semantic structure, rather than being limited to primitive types (e.g. flat tables as in standard SQL). Entities are defined similar to structured types with an underlying persistency, but with a uniquely identifying leading key. In DDL, these entities are combined with associations in the data model. The associations of the extended SQL reflect relationships between entities in the ERM. Associations are specified by adding an element to a source entity, with an association type pointing to a target entity. This may be complemented by providing optional information (e.g., cardinality, keys, filter conditions), up to a complete JOIN condition. In the query language (QL), JOINs may be replaced by the use of simple path expressions.
机译:实施例扩展了标准SQL的关系模型和语言,以识别更高级别的实体关系模型(ERM)的特征。用数据设计语言(DDL)实现的SQL扩展合并了具有自定义/语义结构的实体(和视图),而不是局限于基本类型(例如,标准SQL中的平面表)。实体的定义类似于具有基础持久性的结构化类型,但是具有唯一标识的主键。在DDL中,这些实体与数据模型中的关联结合在一起。扩展SQL的关联反映了ERM中实体之间的关系。通过将元素添加到源实体来指定关联,关联类型指向目标实体。这可以通过提供可选信息(例如,基数,键,过滤条件)进行补充,直至达到完整的JOIN条件。在查询语言(QL)中,可以通过使用简单路径表达式来替换JOIN。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号