modify sequences
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: modify sequences

  1. #1
    Join Date
    Jul 2001
    Location
    Montreal
    Posts
    218

    Question modify sequences

    I have a sequence called 'RHU_CONDET'. The last sequence number used is 1231. I want to change the last sequence number to 1400. Can I modify the sequence and how ? I cannot find anything in metalink. Thx.

  2. #2
    Join Date
    Apr 2006
    Posts
    377
    Code:
    ALTER SEQUENCE rhu_condet INCREMENT BY 169;
    SELECT rhu_condet.NEXTVAL FROM dual;
    
    ALTER SEQUENCE rhu_condet INCREMENT BY 1;
    SELECT rhu_condet.NEXTVAL FROM dual;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width