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
  • 156,878
  • 40
  • 214
  • 345
Priyanka
  • 127
  • 1
  • 1
  • 11

1 Answers1

0

From documentation:

ALTER TABLE table AUTO_INCREMENT=7899;
Alexey Soshin
  • 16,718
  • 2
  • 31
  • 40