Re: number format (0.5 instead of 0.5)
From: Tino Korth <newsgroup_at_tk79.de>
Date: Tue, 24 Sep 2002 13:06:15 +0200
Message-ID: <ampguv$oud$1_at_nntp-m01.news.aol.com>
Date: Tue, 24 Sep 2002 13:06:15 +0200
Message-ID: <ampguv$oud$1_at_nntp-m01.news.aol.com>
Hello,
let's talk in English for the other people which are interested in this
thread.
Guido Konsolke schrieb:
I've already done that ... ;-)
> (ENG) 2: See the following (disgusting) example:
The problem ist that i've got many tables with float-fields. And I do
not want to write in every sql statement that function.
I wanna set that somewhere global ...
Greetings from Rostock, Germany
>
> (ENG) 1 (and best of all): RTFM. It's all in the SQL Reference. Have
> (ENG) a look at the function 'TO_NUMBER'.
>
> select to_char(
> to_number ('0.5','0d0','nls_numeric_characters=''.,''')
> ,'0d0','nls_numeric_characters=''.,''')
> from dual;
ALTER SESSION SET NLS_.... = "0d0"
... but how?
Tino
-- Tino Korth Registered Linux User #286417 www.tinokorth.de - ICQ 10771191 http://counter.li.orgReceived on Tue Sep 24 2002 - 13:06:15 CEST