General discussion
October 30, 2001 at 01:59 AM
karen.wright

Generating a unique user id

by karen.wright . Updated 24 years, 7 months ago

Does anyone know whether there is a generally accepted method of generating a unique userid? The scenario is a database holding info on people with names and addresses. For example I have tried concatenating first 2 initials, surname and postcode and although it has given unique values its very unwieldly and it won’t be very useful for people without a postcode. Otherwise I could try initials conactenated with surname and then generate a number for the dups eg. JSmith01, JSmith02 etc. Is this the more usual method? Any info or directions to source material welcome.
Thanks
Karen

This discussion is locked

All Comments