Hi.. I'm hoping this is possible and someone has an answer for me.
I have a MySQL table.. a membership table with a field for name, email and phone and an UNIQUE auto_increment field for membership number... now my members are only temporary, after a month or so they are deleted. I only have about 50 people in this table at a time but the problem is my membership numbers are up to 1000 now.. but I only have 50 members.. if I delete say member #500 , when a new members joins it give him #501, even thought 500 is no longer taken. Think you get what I mean.
Is there a way I can get mysql to re-use the old numbers that have been deleted? But still making each number UNIQUE.. as I can't have 2 members with the same number at the same time.
Thanks A Lot
AJ Foote
I have a MySQL table.. a membership table with a field for name, email and phone and an UNIQUE auto_increment field for membership number... now my members are only temporary, after a month or so they are deleted. I only have about 50 people in this table at a time but the problem is my membership numbers are up to 1000 now.. but I only have 50 members.. if I delete say member #500 , when a new members joins it give him #501, even thought 500 is no longer taken. Think you get what I mean.
Is there a way I can get mysql to re-use the old numbers that have been deleted? But still making each number UNIQUE.. as I can't have 2 members with the same number at the same time.
Thanks A Lot
AJ Foote