SEQUENCES 

This system table contains all the sequences for which the current user has privileges.

SEQUENCES

OWNER

CHAR(32)

Name of the owner of the sequence

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 start at the minimum value again when the maximum value is reached?

ORDER_FLAG

CHAR(1)

Are the sequence values assigned in the order of the request?

CACHE_SIZE

FIXED(38)

Number of sequence values that are loaded to the cache simultaneously

LAST_NUMBER

FIXED(38)

Last sequence value stored

CREATEDATE

DATE

Creation date of the sequence

CREATETIME

TIME

Creation time of the sequence

COMMENT

LONG

Comment on the sequence