Re: "Natural" Sort
John Winter wrote:
> Sorry, it is my query, should be:
>
> SELECT * FROM table ORDER BY CAST(mid(name, 6,
> LENGTH(name) -5) AS unsigned)
>
> You have to order it from the 6th character on as
> an integer.
The name can have more then 6 alphanumeric characters.
How do I get around that?
As clearly the 6 and -5 are specific on the length of name to equal 6
Kanwal
Subject
Written By
Posted
Re: "Natural" Sort
July 19, 2005 07:48PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.