Hi,
I have a list of 10,000 mobile phone numbers, stored in the following MySQL table:
ID
Mobile_Number
KEY
As part of a competition page I'm doing, I need to create a unique KEY for each Mobile_Number. As this is a pretty big dataset, is my below logic flawed in any way and if so, what would you recommend?
Thanky
I have a list of 10,000 mobile phone numbers, stored in the following MySQL table:
ID
Mobile_Number
KEY
As part of a competition page I'm doing, I need to create a unique KEY for each Mobile_Number. As this is a pretty big dataset, is my below logic flawed in any way and if so, what would you recommend?
- Select * Records from a database
- Generate a unique key via PHP
- Check that key doesn't already exist
- If key is unique, insert this into the database
Thanky