sequence 源代码
Sequence是数据中一个特殊存放等差数列的表,该表受数据库系统控制,任何时候数据库系统都可以根据当前记录数大小加上步长来获取到该表下一条记录应该是多少,这个表没有实际意义,常常用来做主键用。不过各个数据库厂商没有一个统一的标准--各有各的一套对Sequence的定义和操作。
Code Fragment /** * An interface for a sequence, a data structure supporting all * operations of a deque, indexed list and…
500 113 132 234 147 158 321
10 3 3 4 1 2 5
1000 375 399 734 306 330 678
49 14 15 25 15 15 25