The system table SEQUENCES contains all sequences for which the current user has privileges.
SEQUENCES
OWNER |
CHAR(32) |
Name of sequence owner |
SEQUENCE_NAME |
CHAR(32) |
Name of the sequence |
MIN_VALUE |
FIXED(38) |
Minimum value of the sequence |
MAX_VALUE |
FIXED(38) |
Maximum value of the sequence |
INCREMENT_BY |
FIXED(38) |
Value by which the sequence is increased |
CYCLE_FLAG |
CHAR(1) |
Does the sequence begin again with the minimum value once the maximum value has been reached? |
ORDER_FLAG |
CHAR(1) |
Are the sequence values granted in the order of the request? |
CACHE_SIZE |
FIXED(38) |
Number of sequence values that are loaded into the cache simultaneously |
LAST_NUMBER |
FIXED(38) |
Last sequence value that was saved |
CREATEDATE |
DATE(10) |
Creation date of the sequence |
CREATETIME |
TIME(8) |
Creation time of the sequence |
COMMENT |
LONG |
Comment about the sequence |
See also:
Evaluating System Tables ® SEQUENCES