I search a complex SQL code, I have one right now to generate a value random between 0 - 100000 when it does not exists.
Now I want the next level, I need to insert a new value when the value its random string, its start from 1 and I need to changes this (chart count) to like 32 when the string now will return a string on 32 chars.
The string much contain all chars type include spical charts.
The problem is I use this algoritme for discount-vouchers and a numbers have not soe many combinds like numbers include a-z chars have.
I hope somebody can help me on my searching.