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 -> [Q] Removing all characters except some

[Q] Removing all characters except some

From: Peter Amberg <son42uk_at_yahoo.co.uk>
Date: 3 Dec 2003 04:49:49 -0800
Message-ID: <f8232d10.0312030449.38c691aa@posting.google.com>


I have a VARCHAR column in some table T. How can I zap away all characters from the string except digits? I need this in a SELECT clause, I need to order the entries by the integer values within the string. There may be non-digit characters anywhere in the string, I can't just use SUBSTR.

Any help greatly appreciated!

Peter Received on Wed Dec 03 2003 - 06:49:49 CST

Original text of this message

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