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!

Display number in dynamic format using plsql

3574779Jul 20 2018 — edited Oct 17 2018

Hi

My requirementin oracle  is  given number:=c1234567c

Given format:=cnn(space)nnn(space)(space)nnc or

Cnn nnn nnc

C123 456 7c

Given format (space)(space)cnnn(space)nnnnc :  C123 4567c

Display given number in the given format.

Given format depends upon the requirement dynamically.

We must display number in format given.i tried by writing function using regular expression.but didnot get the required output.

Please suggest the solutions

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2018
Added on Jul 20 2018
5 comments
376 views