Examples of ALTER SEQUENCE
-
Setting the value of the
EMP_NO_GENsequence so the next value is 145.ALTER SEQUENCE EMP_NO_GEN RESTART WITH 145; -
Resetting the base value of the sequence
EMP_NO_GENto the initial value stored in the metadataALTER SEQUENCE EMP_NO_GEN RESTART; -
Changing the increment of sequence
EMP_NO_GENto 10ALTER SEQUENCE EMP_NO_GEN INCREMENT BY 10;