I declared a sequence, and I want to know what will be the Max value, at what value it stops and also on what factors the Max value depends and whether it varies on some factors.
CREATE SEQUENCE Mysequence
    MINVALUE 1
    START WITH 1
    INCREMENT BY 1

    Requires Free Membership to View

The Oracle documentation for the CREATE SEQUENCE command has your answer.

There is a maximum value, defined as 10^27 for ascending sequences and -1 for descending sequences.

This was first published in December 2006

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.