Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: own order by

Re: own order by

From: RK <rajXesh_at_hotmail.com>
Date: 9 Jul 2002 06:43:44 -0700
Message-ID: <548b9514.0207090543.7f70a75b@posting.google.com>


You could create a function which returns the order based on the your fld and order by that function

eg ORDER BY my_order(my_fld)

"Wolf" <a912165390_at_aon.at> wrote in message news:<3d29c99a$0$33062$91cee783_at_newsreader02.highway.telekom.at>...
> Is there a way to tell oracle how the "order by" clause orders
> the database entries. (except asc, desc).
> Example:
> I want to sort VARCHAR2 Fields but no by alphabetical order.
> So I want to define that X is the first letter and F ist the second letter
> in order and so on...
>
> Wolf
Received on Tue Jul 09 2002 - 08:43:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US