当前位置:网站首页>Change the current count of auto increment values in MySQL- Changing the current count of an Auto Increment value in MySQL?

Change the current count of auto increment values in MySQL- Changing the current count of an Auto Increment value in MySQL?

2022-06-25 07:10:00 Saffron

problem :

Currently every time I add an entry to my database, the auto increment value increments by 1, as it should. at present , Every time I add an entry to my database , The auto increment value will increase 1, It should be .However, it is only at a count of 47. So, if I add a new entry, it will be 48, and then another it will be 49 etc. However , It's just 47 individual . therefore , If I add a new entry , It will be 48, And then the other one, it will be 49, wait .

I want to change what the current Auto Increment counter is at. I want to change the position of the current auto increment counter .Ie I want to change it from 47 to say, 10000, so that the next value entered, will be 10001. How do I do that? That is, I want to change it from 47 Change to 10000, So that the next value entered will be 10001. What should I do ?


Solution :

Reference resources : https://stackoom.com/en/question/6C6i
原网站

版权声明
本文为[Saffron]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202201234256342.html