I need to loop through every one in the DB and give them a unique 3/4 letter stock symbol like code.
I've got roughly 600 names (of people) and want to generate stock symbol like unique codes for them all, but based roughly on the names (like stock symbols).
For example: Dale Cooper could be DCO/DAC/DC, but Darren Cooper should generate a different code as all 600 should be unique.
first_name and last_name are in different columns.
Advice much appreciated.