Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to generate alphanumeric no (length will be 6) from 6 digit input value by using pl/sql function

User_V6AO3Feb 10 2022

Dear All,
Could you please help to write custom pl/sql function logic to generate unique alphanumeric no (length will be 6) from 6 digit input value..
E,g
input no | output value
-----------------------------------------------------------
000000 BA0000
000001 BA0001
009999 BA9999
like this once value will be
010000 BB0000
019999 BB9999
again once input value reach to
020000 BC0000

This post has been answered by Frank Kulash on Feb 15 2022
Jump to Answer
Comments
Post Details
Added on Feb 10 2022
13 comments
1,002 views