Enforcement of referential constraints in a database system
    1.
    发明授权
    Enforcement of referential constraints in a database system 失效
    在数据库系统中执行参照约束

    公开(公告)号:US5386557A

    公开(公告)日:1995-01-31

    申请号:US975149

    申请日:1992-11-12

    摘要: A system and method for enforcing referential integrity within a database system provides for determination of relevant referential constraints at compile time for an access plan. All referential constraints which are relevant to data changes to the database are identified when the access plan is created. Code necessary for performing referential constraint checks is inserted directly into the access plan at compile time, eliminating the necessity for determining the relevant constraints at run time. Constraint checking can be performed using substantially the same low-level procedural statements already used in the access plan for performing database accesses.

    摘要翻译: 用于在数据库系统中实施参照完整性的系统和方法提供了在编译时确定访问计划的相关参考约束。 当创建访问计划时,会识别与数据库的数据更改相关的所有参照约束。 执行参照约束检查所必需的代码在编译时直接插入到访问计划中,从而消除了在运行时确定相关约束的必要性。 约束检查可以使用在访问计划中已经使用的用于执行数据库访问的基本相同的低级过程语句来执行。