English is not my native language so forgive me if something in my question is not clear, I'll try to clarify.
I have to make a change in MySQL and I'm a little bit anxious about the result since the change will be made live. I have a table that have id's from 1-800 then there is a big jump to 10000, 10001, etc. I read in multiple questions like this one that you can use
ALTER TABLE tablename AUTO_INCREMENT = 1
My questions are :
- Will this reorder the current keys?
- What happen when my id get back up to 10000, will the ids be overwritten? (The collumn is primary)
In the case that it does reorder my keys or that they get overwritten (I can't have that happen), what would be the best solution to keep my table intact but have the id's be reset to 801? I absolutly need to keep the result untouch!!!
Thank you for taking the time to read/answer. Cheers.