Algorithmically speaking, how could I generate a unique, human readable, reasonably lengthed - order number for SQL Server column. The only requirement is that it references the Customer Number and can be easily repeated over the phone.
Something like:
- Customer Number - XXXXXXXX - XXXXXXXX
RT65-XXXXXXXX-XXXXXXXX
How would I generate the XXXXXXXX? (Use random alpha-numeric data and then checking to see if it was in fact a duplicate?)
and
What are the best methods/considerations when generating these types of numbers?
How have you done this in your application?