Oracle资料之sequence表

◆ ALL_SEQUENCES

      ALL_SEQUENCES记录了当前用户所有的sequence信息。(ALL_SEQUENCES describes all sequences accessible to the current user.)


◆ Related Views

      • DBA_SEQUENCES记录了数据库中所有的sequence信息。(DBA_SEQUENCES describes all sequences in the database.)
    • USER_SEQUENCES记录了数据库中当前用户的sequence信息,但视图中不包含SEQUENCE_OWNER列。(USER_SEQUENCES describes all sequences owned by the current user. This view does not display the SEQUENCE_OWNER column)


◆ 字段信息:

ColumnDatatypeNULLDescription
SEQUENCE_OWNERVARCHAR2(30)NOT NULLName of the owner of the sequence
SEQUENCE_NAMEVARCHAR2(30)NOT NULLSequence name
MIN_VALUENUMBERMinimum value of the sequence
MAX_VALUENUMBERMaximum value of the sequence
INCREMENT_BYNUMBERNOT NULLValue by which sequence is incremented
CYCLE_FLAGVARCHAR2(1)Does sequence wrap around on reaching limit
ORDER_FLAGVARCHAR2(1)Are sequence numbers generated in order
CACHE_SIZENUMBERNOT NULLNumber of sequence numbers to cache
LAST_NUMBERNUMBERNOT NULLLast sequence number written to disk. If a sequence uses caching, the number written to disk is the last number placed in the sequence cache. This number is likely to be greater than the last sequence number that was used.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值