首页> 外国专利> METHOD AND SYSTEM FOR GENERATING A TRANSACTION-BOUND SEQUENCE OF RECORDS IN A RELATIONAL DATABASE TABLE

METHOD AND SYSTEM FOR GENERATING A TRANSACTION-BOUND SEQUENCE OF RECORDS IN A RELATIONAL DATABASE TABLE

机译:在关系数据库表中生成记录的交易界序列的方法和系统

摘要

A method for generating a transaction-bound sequence of records in a database table is disclosed. In response to a transaction attempting to insert a record to a database table within a relational database, an identification (ID) of the transaction and the name of the associated database table are initially obtained. A determination is then made whether or not the obtained transaction ID and the associated database table name are found in the transaction-bound tracking table. If they are not found in the transaction-bound tracking table, a new entry is generated in the transaction-bound tracking table for the obtained transaction ID and database table name, and a value in a last_order_number column associated with the entry is set to 1; otherwise, a value in the last_order_number column associated with the entry is incremented by 1. The value in the last_order_number column associated with the entry is subsequently copied to the corresponding order tracking field associated with the record entry in the database table.
机译:公开了一种用于在数据库表中生成事务绑定记录序列的方法。响应于事务试图向关系数据库内的数据库表中插入记录,最初获得了事务的标识(ID)和相关联的数据库表的名称。然后确定是否在事务绑定跟踪表中找到了获得的事务ID和关联的数据库表名称。如果在事务绑定跟踪表中未找到它们,则会在事务绑定跟踪表中为获取的事务ID和数据库表名生成一个新条目,并将与该条目关联的last_order_number列中的值设置为1 ;否则,与该条目关联的last_order_number列中的值增加1。与该条目关联的last_order_number列中的值随后被复制到与数据库表中的记录条目关联的对应的订单跟踪字段。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号