摘要
数据库应用开发设计中,常遇到需建立应用系统范围内共享的、按规则自动编码的、唯一值序列的要求。介绍一种利用种子数实现系统范围内多表共用的自增长字符序列的方法,提供了实例程序,并进行了简单分析,可以说提供了一种解决此问题的框架。
The special sequences shared by multi-tables are required frequently in the database application system development, but normally, database system does not provide this kind of sequence directly. Introduces an ingenious method making use of seed number to cope with this situation, and the program of implementation.
出处
《现代计算机》
2009年第1期125-127,共3页
Modern Computer
关键词
数据库
序列
种子数
存储过程
Database
Sequence
Seed Number
Stored Procedure