I want to generate compound sequences in the following format:
<Alphabet><2 digit numeric code>
Each series of alphabets will have numerical values ββfrom 00 to 99.
The initial value will be A00 , subsequent values ββwill be A01 , A02 and so on. Upon reaching A99 , the following sequence should continue to B00 . When the βBβ series is exhausted, it will move on to the C-series (that is, C00 ) and so on. The sequence will continue until it reaches Z99 - at that moment it will return reset to A00 .
How can this be done in SQL (or PL / SQL)?
source
share