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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autonumber

Status
Not open for further replies.

realstandman

IS-IT--Management
Oct 29, 2003
87
US
I have a table where I need an autonumber to start at 30000. With this in mind I will be using a
DELETE test.*
FROM test;

and Reloading this table with new data. How can I get the Autonumber to restart at 30000??

Thanks, Stan
 
Or is there a way to create a number starting at 30000 that incriments up 1 for each line?

STan
 
ALTER TABLE yourTable ALTER COLUMN yourautonumber COUNTER(30000,1);

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top