Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inserting sequences values

 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers..
i'm doing a project in JSP oracle.. and
in some point i used a sequence.. for generating the id..
when i create a new user.. with name "aravind" and password "prasad"

the valeues are inserted in to the table as
----------------------------------------------
id name password
----------------------------------------------
1 aravind prasad
----------------------------------------------

when i create another user the id will be 2 and so on..
now.... after some times.. i came and created a user and the id was showing 51.. i don't know how it comes.

please help me ranchers. what to do now!!

thanks in advace..
regards
Aravind
 
stu derby
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And your problem is what, exactly? That you've got 51 ids? Or that you've got less than 51 ids, but the latest user has id number 51?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic