首页> 外国专利> Effective Dating for Entity Attributes and Relationships

Effective Dating for Entity Attributes and Relationships

机译:实体属性和关系的有效约会

摘要

A method for tracking modifications to tables or relationships. In one embodiment, the method includes updating a first value stored in a first field of a record in a table in response to a database system receiving a first structured query language (SQL) statement from a customer relationship management (CRM) application. A first record is inserted into a history table in response to the first SQL statement, wherein the first record comprises a foreign key field that stores a copy of the primary key of the record, a field that stores a copy of the first value after it is updated, a field that stores a name of the first field, and a first date field. The first date field stores either the date when the first SQL statement was received by the database system, the date of the day that immediately follows the date when the first SQL statement was received by the database system, or a date that was entered into a field of a user interface.
机译:一种用于跟踪对表或关系的修改的方法。在一个实施例中,该方法包括响应于数据库系统从客户关系管理(CRM)应用程序接收第一结构化查询语言(SQL)语句,更新存储在表中记录的第一字段中的第一值。响应于第一条SQL语句,将一条第一条记录插入到历史表中,其中,第一条记录包括一个外键字段,用于存储记录的主键的副本,该字段用于存储其后的第一值的副本。更新了一个字段,该字段存储了第一个字段的名称和一个第一个日期字段。第一个日期字段存储数据库系统接收第一个SQL语句的日期,数据库系统接收第一个SQL语句的日期之后的第二天的日期,或存储在数据库中的日期。用户界面的字段。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号