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!

Procedure or function for possible combination of numbers

kr61665May 12 2011 — edited May 13 2011
Hi,

Could anyone please tell how to query maximum possible combinations of a digit or a string using a procedure or function.

Eg:

I/p: 12

O/P:

12
21

Same way for a sting also


I/P: AN

O/P:

AN
NA

I have searched in oracle forums and found a function but its very lengthy and am not understanding.
Anyone please help me.
This post has been answered by BluShadow on May 13 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2011
Added on May 12 2011
19 comments
1,293 views