hi,
my oracle version is 8.1.7.2 on sun solaris 5.8
I get char fields as of
TMPVAR1 2,5000000 TMPVAR2 0 TMPVAR3 3,2500000 5,75
converting the tmpvars to_number and sum them up
now I want to_char the sum again, but it cuts off the decimal digits or rounds up. If I set the format mask to '999.99999999' it works fine --
I played around with the NLS_NUMERIC_CHARACTERS parameter but then the tmpvar constents cannot be transformed to a numeric ...
how to set up the enironment to get transormed tmpvars correctly and the summed output converted into the format '999,99999999'
thanks
osy45
my nls params are set as follows:
SQL>
SQL> select * from nls_session_parameters;
PARAMETER VALUE
------------------------------ ----------------------------------------
NLS_LANGUAGE GERMAN
NLS_TERRITORY GERMANY
NLS_CURRENCY
NLS_ISO_CURRENCY GERMANY
NLS_NUMERIC_CHARACTERS ,.
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD.MM.RR
NLS_DATE_LANGUAGE GERMAN
NLS_SORT GERMAN
NLS_TIME_FORMAT HH24:MI

SXFF
NLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI

SXFF
PARAMETER VALUE
------------------------------ ----------------------------------------
NLS_TIME_TZ_FORMAT HH24:MI

SXFF TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI

SXFF TZH:TZM
NLS_DUAL_CURRENCY +
NL