I have a table in the DB called 'Products' and each row has an auto increment column that has a value of 4 digits, like each line is
1001 - Sony Plasma
1145 - Sony Hifi
2321 - Kenwood Car Stereo
There are gaps because some products have been deleted in the past.
How do I get a list of index id's that are missing, so I can re-add them to the database and re-use them as we are now at 9032 and I am going to run out of product id's soon as they have to be 4 digits.
Anyone help?