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

Home -> Community -> Usenet -> c.d.o.server -> Re: Changing default Date format in Oracle 6

Re: Changing default Date format in Oracle 6

From: KE Fein <kfein_at_primenet.com>
Date: 1997/08/11
Message-ID: <5snjng$jju@nntp02.primenet.com>#1/1

trwAT_at_ATmedicalert.DOTorg (Tim Witort ) wrote: [snip]
>Sorry, v6 and v7 return the date in DD-MON-YY format.
>You can fake the change with views which do a to_char, but
>then the retrieved value will be char, not date. I know of
>no way to change the way a date is presented by default.
>
>-- TRW

BTW, remember since v6 you have the NLS (National Lang. Support) option(s) with the INIT.ORA (instance) as well as session parameters, e.g., NLS_DATE_FORMAT, for example: Alter Session Set NLS_DATE_FORMAT = 'DD.MON.YY';

good luck,

                      \\///
                      (0-0)
           +----oOO----(_)-----------+
           |       K. E. Fein        |
           |    Database Analyst     |
           |   kfein_at_primenet.com    |
           +------------------oOO----+
                     |  |  |
                     |__|__|
                      || ||
                     ooO Ooo
Received on Mon Aug 11 1997 - 00:00:00 CDT

Original text of this message

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