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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How set Date format Globally

RE: How set Date format Globally

From: Srinivas Vedantam <rvedantam_at_sierraopt.com>
Date: Wed, 11 Jul 2001 05:14:14 -0700
Message-ID: <F001.00346C02.20010711044554@fatcity.com>

Hi,

   Put that statement in GLOGIN.sql and see. Rgds
Vra Srinivas.

> ----------
> From: Rangachari Sundar[SMTP:sundar_at_focusite.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Wednesday, July 11, 2001 2:05 PM
> To: Multiple recipients of list ORACLE-L
> Subject: How set Date format Globally
>
> Hi,
>
> I have a requirement. Everytime when i make a session to the database i
> want the
> Date Format to beas follows
>
> 'yyyy-mm-dd hh:mi:ss'
>
> The existing default format is 'dd-mon-yyyy' and so I tried the following
> steps.
>
> ALTER SESSION set NLS_DATE_FORMAT='yyyy-mm-dd hh:mi:ss' and put that in
> the
> login.sql it worked fine for my every client session.
>
> How can I set it globally so that everytime when I make a session to
> database
> from any client It should be 'yyyy-mm-dd hh:mi:ss'.
>
> Regards
> Sundar
>
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rangachari Sundar
> INET: sundar_at_focusite.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Srinivas  Vedantam
  INET: rvedantam_at_sierraopt.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jul 11 2001 - 07:14:14 CDT

Original text of this message

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