0

i have a table with a order_id field set to auto increment. Its currently about at 325

but i need to start all the newly added entries to start off with 1000,1001..... rather than continuing with 326.

i need to keep the existing IDs the same and change only the newly adding values.

can someone please help me with this?

LiveEn
  • 3,193
  • 12
  • 59
  • 104

1 Answers1

2
ALTER TABLE table_name AUTO_INCREMENT = 1000;
Jehad Keriaki
  • 545
  • 5
  • 10