Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Sort of numbers and letters
Florian Albrecht wrote:
> Thank you Rene!
>
> A good hint!
>
>
>>Oracle Locale Builder might help you. I am not sure as I haven't tried >>it. Find the details at: >> >>download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch12.htm#1008740
One way is a variation on this:
SELECT address FROM (
SELECT address, TO_NUMBER(TRIM(TRANSLATE(address,
0ABCDEFGHIJKLMNOPOQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.,
','0'))) SORTCOL
FROM test
ORDER BY SORTCOL);
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Tue Feb 10 2004 - 08:47:49 CST
![]() |
![]() |