Auto numbering

Keiath

Registered User.
Local time
Today, 18:10
Joined
Jan 6, 2012
Messages
104
I have a database that has order numbers, I want to start the auto number at 7013 instead of 1 from the table, but there doesnt seem a simple way to do this

any ideas?

thanks
 
Try executing this query:

INSERT INTO TableName (AutonumberFieldName)
VALUES (7012)
 
Done by having a auto number and a order number and via a calculation, messy but it works
 
you don't want to use autonumbers, though, if you need an intact sequence.

either get the number from a separate table, or get the number with dmax.
 

Users who are viewing this thread

Back
Top Bottom