This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java DB - Reset auto-increment primary key  RSS feed

 
ash neet
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Everyone,

Can anyone please tell me how do i reset the auto-increment primary key in Java DB (Embedded java)? I am using Squirrel SQL Client for creating database.
 
Ireneusz Kordal
Ranch Hand
Posts: 423
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try:
Here is documentation:
http://db.apache.org/derby/docs/10.6/ref/rrefsqlj81859.html
 
ash neet
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Thank you so much. It Worked!!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!