0

In mysql, I want to set the initial value to a primary key which is also set to the auto increment option such and it begins from the value 7899?

Your Common Sense
  • 154,967
  • 38
  • 205
  • 325
Priyanka
  • 127
  • 1
  • 1
  • 11

1 Answers1

0

From documentation:

ALTER TABLE table AUTO_INCREMENT=7899;
Alexey Soshin
  • 14,813
  • 2
  • 24
  • 33