MySQL Question.
#1

Say I deleted a vehicle (which is saved in mysql) and I want to keep the vehicle id's relevant.

i.e If I delete the vehicle and the vehicle id = 5, the next vehicle I create will be ID 6, unless I change that in operations.

How do I delete the vehicle and set the 'free' id to 5. So if I create a new vehicle it changes back to 5.
Reply


Messages In This Thread
MySQL Question. - by Dokins - 09.12.2013, 23:10
Re: MySQL Question. - by Jefff - 09.12.2013, 23:23
Re: MySQL Question. - by Dokins - 09.12.2013, 23:27
Re: MySQL Question. - by Tayab - 09.12.2013, 23:42
Re: MySQL Question. - by Dokins - 09.12.2013, 23:49
Re: MySQL Question. - by Tayab - 09.12.2013, 23:54

Forum Jump:


Users browsing this thread: 1 Guest(s)