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 make max and min numbers from digits of given four digit number.

Sachin JamdarDec 4 2013 — edited Dec 4 2013

Hi all,

I have a requirement that if i have any four digit number say, 3896


then i have to form maximum number from these four digits i.e 9863

and also form minimum number as 3689.

How can i accomplish this,

can anybody please help me.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2014
Added on Dec 4 2013
1 comment
345 views