Oracle 11gR1
DBA_SEQUENCES
describes all sequences in the database. Its columns are the same as those in "ALL_SEQUENCES".
· ALL_SEQUENCES
describes all sequences accessible to the current user.
· USER_SEQUENCES
describes all sequences owned by the current user. This view does not display the SEQUENCE_OWNER
column.
Column | Datatype | NULL | Description |
|
|
| Name of the owner of the sequence |
|
|
| Sequence name |
|
| | Minimum value of the sequence |
|
| | Maximum value of the sequence |
|
|
| Value by which sequence is incremented |
|
| | Does sequence wrap around on reaching limit |
|
| | Are sequence numbers generated in order |
|
|
| Number of sequence numbers to cache |
|
|
| Last 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. |
Note:
1.
select * from DBA_SEQUENCES;
SEQUENCE_ OWNER | SEQUENCE_ NAME | MIN_ VALUE | MAX_ VALUE | INCREMENT_ BY | CYCLE_ FLAG | ORDER_ FLAG | CACHE_ SIZE | LAST_ NUMBER |
SDE | R20 | 1 | 2147483647 | 1 | N | N | 0 | 1 |
SDE | R22 | 1 | 2147483647 | 1 | N | N | 0 | 1 |
SDE | R24 | 1 | 2147483647 | 1 | N | N | 0 | 137 |
SDE | R26 | 1 | 2147483647 | 1 | N | N | 0 | 1 |
No comments:
Post a Comment