Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: nls_date_format

Re: nls_date_format

From: Michel Cadot <micadot_at_netcourrier.com>
Date: Tue, 24 Apr 2001 15:07:26 +0200
Message-ID: <9c3tqf$7nf$1@s1.read.news.oleane.net>

"Wayne Pascoe" <wayne.pascoe_at_realtime.co.uk> a écrit dans le message news: m11yqi5wyk.fsf_at_zaphod.realtime.co.uk...
> Hi all,
>
> Is there any way to change the default oracle nsl_date_format after
> I've created a database? I am having to issue
>
> alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
>
> at the beginning of each of my sessions. Is there a way to make this
> the default, or do I have to recreate the database?
>
> Thanks,
>
> --
> - Wayne Pascoe
> E-mail: wayne.pascoe_at_realtime.co.uk
> Phone : +44 (0) 20 7544 4668
> Mobile: +44 (0) 788 431 1675

You can put it in your init.ora file. This value becomes the default for all clients that don't override it with an environment variable such as nls_lang.

--
Regards
Michel
Received on Tue Apr 24 2001 - 08:07:26 CDT

Original text of this message

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