-1

I have following sequence created CREATE SEQUENCE public.test_seq INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 START 1 CACHE 1 NO CYCLE; once it is created, i want to change the maximum value ? do i need to alter the name and create a same name sequence with maximum value ?

1

1 Answer 1

1

Try the following command:

alter sequence test_seq maxvalue 99999;
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.