Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java DB - Reset auto-increment primary key

 
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