Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resetting the Auto Number back to 0

Status
Not open for further replies.

ankat

Technical User
Nov 7, 2002
4
0
0
AU
A quick question.
I have just deleted all records from a table.
The address ID field has a primary key attached to it.
How do I set the autonumber back to 0
Many Thanks
 
Just a suggestion, try deleting the auto number column (assuming you have no records in the table - as you said) and then creating it back again. {W r i t e C o d e A n d K i c k A s s}
 
Hi

Compact the database and autonumber will start at 1 again (not zero).

But why would you want to do this?, autonumbers are not supposed to have meaning Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top