MySQL auto increment
#5

Remote database does indeed sound a little bad, but why would you want to reorder the auto increment values? While they greatly help you with unique IDs, you can have better ways of managing your list of vehicles so you don't have to reorder the table.

Lets say you have an enumeration for vehicle data. In there, include a value that represents the vehicle's ID in the database. This way, reorganizing anything isn't necessary.
Reply


Messages In This Thread
MySQL auto increment - by Joe_ - 27.12.2011, 22:27
Re: MySQL auto increment - by GamingTurf - 27.12.2011, 22:38
Re: MySQL auto increment - by Joe_ - 27.12.2011, 22:41
Re: MySQL auto increment - by GamingTurf - 27.12.2011, 22:42
Re: MySQL auto increment - by AndreT - 27.12.2011, 22:47
Re: MySQL auto increment - by Joe_ - 27.12.2011, 22:47
Re: MySQL auto increment - by Joe_ - 27.12.2011, 22:50
Re: MySQL auto increment - by T0pAz - 28.12.2011, 16:54

Forum Jump:


Users browsing this thread: 2 Guest(s)