Saving auto increment in MySQL
- by oshafran
Hello,
I am trying to sync between 2 tables:
I have active table where has auto_increment, and I have archive table with the same values.
I would like both ID's to be unique (between the tables as well) - I mean, I would like to save auto incremenet, and if I UNION both table I still have uniqness. How can I do that?
Is there a possibility to save auto increment when mysql is off?