I need a little PL/SQL help. I am trying to create a 10 character field that has a unique set of characters in it that will be later turned into a barcode. The methodology I have to use is the following:
The first 3 characters will be hard coded, for example, "CCD"
The remaining 7 characters need to be unique and as random as possible, but can only use the following charaters:
CDFHJKLNPRTVXYZ0123456789
The final result will look something like:
CCD113K1TC
CCDP13K9XY
CCDXXJ1772
.........
.........
This will be updating a 9 million record file, so, I am also worrying about optimization of the update.
Any ideas would be much aprreciated.
ER
The first 3 characters will be hard coded, for example, "CCD"
The remaining 7 characters need to be unique and as random as possible, but can only use the following charaters:
CDFHJKLNPRTVXYZ0123456789
The final result will look something like:
CCD113K1TC
CCDP13K9XY
CCDXXJ1772
.........
.........
This will be updating a 9 million record file, so, I am also worrying about optimization of the update.
Any ideas would be much aprreciated.
ER