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: strange behaviour using to_char to return daynumber

Re: strange behaviour using to_char to return daynumber

From: mich \(at work\) <someone_at_mail.com>
Date: Tue, 25 Apr 2006 13:25:02 +0100
Message-ID: <jxo3g.24$AH6.5093@news1-hme0>


Turns out to be nls_teritory not set..
It's now sorted.
Thanks for the pointers.....

M.
<sybrandb_at_yahoo.com> wrote in message
news:1145889015.050484.32300_at_t31g2000cwb.googlegroups.com...
> No, it doesn't. If you don't set anything you'll get Windows specific
> defaults.
> Just run
> select * from nls_session_parameters
> /
> in sqlplus from the client and verify them with the servers settings.
>
> I found out when I ran into a case of
> create table blablad(timestamp date default '31-12-00')
> This assumed the default dateformat was dd-mm-yy. It was on the client.
> It wasn't on the server.
> Boy, I had fun. My import failed completely.
>
> --
> Sybrand Bakker
> Senior Oracle DBA
>
Received on Tue Apr 25 2006 - 07:25:02 CDT

Original text of this message

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