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 -> Re: Numeric Format

Re: Numeric Format

From: Achim Moehler <achim.moehler_at_freenet.de>
Date: Fri, 07 Sep 2001 22:45:35 +0200
Message-ID: <3B9931EF.E69478CA@freenet.de>


Are you shure, you use the right delimiter? What happens when you do this:

SQLWKS> select to_number('0,125') + to_number('0,538') from dual

Achim Möhler

Ricardo Suyon schrieb:
>
> Hi.
>
> I have an Oracle Server 7.3.4.
> When i run this script i get this result:
>
> SQLWKS> select to_number('0.125') + to_number('0.538') from dual
> 2>
> TO_NUMBER(
> ----------
> .663
> 1 row selected.
>
> I made an export from this database to a Oracle Server 8.0.4.When I
> execute the same script, I get this error message:
>
> SQLWKS> select to_number('0.125') + to_number('0.538') from dual
> 2>
> TO_NUMBER(
> ----------
> ORA-01722: invalid number
>
> All the numeric data has another numeric format:
>
> 7.3.4 8.0.4
> ======== =======
> 10235.88 1023588
> 56986.95 5698695
> 96535.45 9653545
> 12354.96 1235496
> 65842.18 6584218
> ...
>
> At parameters in both servers
>
> nls_currency
> nls_date_format
> nls_iso_currency
> nls_language AMERICAN
> nls_numeric_characters
> nls_sort
> nls_territory
>
> After I try with a full database export/import and the error remains.
>
> Can you tell me where is the error.
>
> Thanks in advance.
>
> Ricardo Suyon
Received on Fri Sep 07 2001 - 15:45:35 CDT

Original text of this message

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