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!

to generate unique registration number.

NitishShahuJun 12 2012 — edited Jun 13 2012
Im trying to generate unique registration numbers. The logic for that :
format of reg number : 'baddmmyy'
dd-system.date,mm-system.month,yy-system.year
a and b - varies fro 1 - 9.
I tried to use LAPD function too, but couldnt put up the logic.
pls get me coding so that every user logging in will generate new unique reg no.
first reg no should be - 01ddmmyy and last number should be - 99ddmmyy.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2012
Added on Jun 12 2012
18 comments
845 views