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 -> Re: to_char(sysdate) gives an nls error

Re: to_char(sysdate) gives an nls error

From: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Wed, 24 Nov 2004 15:07:42 +0100
Message-ID: <cnvg8f$me6$1@news1.zwoll1.ov.home.nl>


Znake wrote:
> I executes the following code (in sql plus in win nt):
>
> set serveroutput on size 100000
> begin
> dbms_output.put_line('start:'||to_char(sysdate));
> end;
> /
>
> Sometimes I get an NLS language error.
>
> I thought that oracle always could find a nls_date_language
> (these settings exists in the registry).
>
> In the registry:
> oracle.nls_lang= AMERICAN_AMERICA.WE8ISO8859P1
>
> oracle.all_homes.id0 = AMERICAN_AMERICA.WE8ISO8859P1
> oracle.all_homes.id1= 'NA'
>
> oracle.home0.nls_lang=AMERICAN_AMERICA.WE8ISO8859P1
> oracle.home1.nls_lang=AMERICAN_AMERICA.WE8ISO8859P1
>
> orahomes
> ...oracle1 nls_date_lang DANISH_DENMARK.WE8ISO8859P1
>
> If looking at the oracle.all_homes.id1= 'NA' could that give the problem?
>
> anyone have encountered the same problem?
> I would really appreciate a comment

Sometimes.... when? And what error (digits and codes, pls?) Client and server versions are?!?

-- 

Regards,
Frank van Bortel
Received on Wed Nov 24 2004 - 08:07:42 CST

Original text of this message

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