USER_SEQUENCES v15
The USER_SEQUENCES
view provides information about all user-defined sequences that belong to the current user.
Name | Type | Description |
---|---|---|
schema_name | TEXT | Name of the schema in which the sequence resides. |
sequence_name | TEXT | Name of the sequence. |
min_value | NUMERIC | Lowest value for the server to assign to the sequence. |
max_value | NUMERIC | Highest value for the server to assign to the sequence. |
increment_by | NUMERIC | Value added to the current sequence number to create the next sequent number. |
cycle_flag | CHARACTER VARYING | Specifies whether the sequence wraps when it reaches min_value or max_value . |
order_flag | CHARACTER VARYING | Included only for compatibility. Always Y . |
cache_size | NUMERIC | Number of preallocated sequence numbers in memory. |
last_number | NUMERIC | The value of the last sequence number saved to disk. |