This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Reset the Auto Number Column Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Reset the Auto Number Column" Watch "Reset the Auto Number Column" New topic
Author

Reset the Auto Number Column

Sri Gnana
Ranch Hand

Joined: Apr 29, 2004
Posts: 166
Hi friends,
I want to reset the Auto Number Coloumn , I'm using MSAccess,can any one help me?


Thanks & Regards
Sri Gnana
Everythings Programmed!...
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

As I remember this is a feature of the access application itself, not SQL so you can't do it through JDBC. But then this is a sort of DBA task, so you shouldn't do it through JDBC anyway.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Sri Gnana
Ranch Hand

Joined: Apr 29, 2004
Posts: 166
Hi Paul
Thanks, i did it.Just i delete the auto number column and again create a new column.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reset the Auto Number Column
 
Similar Threads
extract data from .csv
reset() function in ActionForm class
sankar
Primary key generated as 5000000000006877 when generator class used is native
Clear the form elements when accessed by clicking on the back button