Re: VARCHAR to NUMBER

From: nick <nick-love_at_juno.com>
Date: Mon, 05 Feb 2001 21:30:11 -0000
Message-ID: <t7u6r3h5hl5h86_at_corp.supernews.com>


Marc Ottone wrote:
>
>
> Hi,
>
> In order to select data (block based on table) I need to get NUMERIC
 value
> from VARCHAR
> like 'X -123b' = 123
> and use criteria like >100 and <200
> What would be the simple way to do this?
> [FORMS 6i / Rdb 7]
> TIA,
>
> Marc
>
> PS:
> TO_NUMBER generate -01722: Invalid number error
>
>
> Marc Ottone
> Conservatoire et jardin botaniques de Genve
> marc.ottone_at_cjb.ville-ge.ch
>
>
> why don't ya use TO_CHAR instead, see if that will work

--
Posted via CNET Help.com
http://www.help.com/
Received on Mon Feb 05 2001 - 22:30:11 CET

Original text of this message