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

Home -> Community -> Usenet -> c.d.o.server -> SQL question - Sorting by release/version numbers.

SQL question - Sorting by release/version numbers.

From: Reg <Reg_Burgess_at_Stratus.com>
Date: Wed, 15 Jul 1998 16:59:07 -0400
Message-ID: <35AD181A.DB275E97@Stratus.com>


I have a need to sort by release number where the release is in the following time honored style of our industry;

n.n.nn.n... etc.

example 7.3.4 which is less than 7.3.4.1

This isn't JUST for Oracle, I need to do it for other products that have similar release numbers. Confident in the assumption that this has been done before, I am asking for HELP. Yes, I can add a column for a sort key and could load it from an external function of some kind.... am I on the wrong track already ?

BTW, there could be non-numerics, e.g. 6.0.38beta.1 or somesuch.

rgds,

Reg Received on Wed Jul 15 1998 - 15:59:07 CDT

Original text of this message

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