DB2 Version 10.1 for Linux, UNIX, and Windows

Sequence Modification

Modify the attributes of an existing sequence with the ALTER SEQUENCE statement.

The attributes of the sequence that can be modified include:
There are two tasks that are not found as part of the creation of the sequence. They are:

Restrictions

The data type of a sequence cannot be changed. Instead, you must drop the current sequence and then create a sequence specifying the new data type.

After restarting a sequence or changing to CYCLE, it is possible to generate duplicate sequence numbers. Only future sequence numbers are affected by the ALTER SEQUENCE statement.

All cached sequence values not used by the database manager are lost when a sequence is altered.