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: Can Oracle 7.x store 4-digit year dates?

Re: Can Oracle 7.x store 4-digit year dates?

From: Marc Scheuner <marc.scheuner_at_NO.SPAM.PLEASE.ch>
Date: 1997/08/13
Message-ID: <33f15a58.3985931@news.bernoise.ch>#1/1

Erwan Layman <erwan_at_contact.com.sg> wrote:
>Your suggestion to use ALTER SESSION works great. But I lose this
>setting when I logout of SQL*Plus. How do I make this new date format
>setting persistent for myself and for all users of my database? I have
>DBA privilege. Thanks in advance.

If you use the 16-bit Oracle client, there's a file called ORACLE.INI somewhere that has a section called [Oracle], and there you can set the date format permanently:

[Oracle]
NLS_DATE_FORMAT=DD.MM.YYYY If you're using the 32-bit client, see David Martin's reply for setting the registry key responsible for the date format.

HTH
Marc



[ Marc Scheuner, marc.scheuner_at_berner.ch CH-3001 BERNE, Switzerland ]
Received on Wed Aug 13 1997 - 00:00:00 CDT

Original text of this message

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