数据库表中流水号触发器的研究  被引量:1

Research on Trigger’s Serial Numbers of Database Tables

在线阅读下载全文

作  者:颜波[1] 孙宏波[2] 黄必清[2] 肖田元[2] 

机构地区:[1]华南理工大学电子商务学院,广州510006 [2]清华大学自动化系,北京100084

出  处:《计算机工程》2006年第12期55-56,59,共3页Computer Engineering

基  金:中国博士后科学基金资助项目(2004036119);华南理工大学人文社会科学基金资助项目

摘  要:在信息系统的数据库表中用流水号做主键可以提高效率。选择创建触发器来完成流水号的自动增加一方面能够回滚,另一方面流水号可以是数字型、字符型和字符串型,分别适合数据记录增量大和增量小的数据表、流水号需要左填充的数据表。测试表明,该文提出的方法是可行的、有效的。Regarding a seria number as a primary key in the database tables of the logistics information system can increase efficiency. On the one hand, that creating triggers is chosen to fulfill automotive increase of the serial number could rollback, on the other hand, the serial number may be a number ,type, a char type and a string type and fit respectively for database tables where data records increasing rapidly and slowly, and those serial numbers need padding on the left. It is proved that the design is available and feasible.

关 键 词:管理信息系统 Orack数据库 触发器 流水号 物流工程 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象