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

Thread: problem with sequence generation

  1. #1
    Join Date
    Apr 2008
    Location
    bangalore
    Posts
    25

    problem with sequence generation

    HI,
    I have a sequence DBS_REQ_ID as below

    create sequence DBS_REQ_ID
    minvalue 1
    maxvalue 99999999
    start with 1562448
    increment by 1
    cache 10
    cycle;


    using this sequence we insert values into a table and the max values inserted into the table is 91128745.so it has not reached the max value.

    my problem is when i do an insert it starts with 1562505.
    but it has to start with 91128746.
    anyway to reset the sequence.

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    drop it and recreate it with the correct start with value

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