首页> 外国专利> System and method for constraint checking bulk data in a database

System and method for constraint checking bulk data in a database

机译:用于约束检查数据库中大容量数据的系统和方法

摘要

In a relational database management system (RDMS), a method and system for constraint checking of bulk data after storage in a base table. This invention generates a "dummy" INSERT inquiry to cause the compiler constraint rule engine to generate code for checking for constraint violations. After construction of a Query Graph Model by the compiler, a logic module replaces the INSERT inquiry with a SELECT inquiry to create code that when executed will select records from the bulk data table. Constraint violations are handled in several ways by this invention, including merely reporting that a constraint error exists or listing those records that violate constraint conditions. The logic also enforces referential integrity constraints by applying the SQL CASCADE command to the violating records to expand the violation list to include children records that would be orphaned when their parent records are later removed.
机译:在关系数据库管理系统(RDMS)中,一种用于对存储在基表中的大数据进行约束检查的方法和系统。本发明生成“虚拟” INSERT查询,以使编译器约束规则引擎生成用于检查约束违例的代码。在由编译器构造查询图模型之后,逻辑模块用SELECT查询替换INSERT查询,以创建代码,该代码在执行时将从批量数据表中选择记录。本发明以几种方式处理约束违规,包括仅报告存在约束错误或列出违反约束条件的那些记录。该逻辑还通过将SQL CASCADE命令应用于违规记录以扩展违规列表,以包括在以后删除其父记录时将被孤立的子记录,来强制执行参照完整性约束。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号