Originally posted by Roy Cohen:
Interesting solution, the only problem is that they key is not something numeric that I can run on, it's random numbers.
sounds like a good reason to have an autoincrement field in the table. Key it, and you are ready to go.
If you don't index the column, this approach can get really slow.