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: Date format element rule change

RE: Date format element rule change

From: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Mon, 11 Feb 2002 20:27:26 -0800
Message-ID: <F001.0040C357.20020211191822@fatcity.com>

Oracle 7.1.3.2 on VAX/VMS
SQL>
SQL> ALTER SESSION SET NLS_DATE_FORMAT = 'Mon (MM) DD, YYYY'; ERROR:
ORA-01816: month may only be specified once

-----Original Message-----
Sent: Monday, February 11, 2002 3:48 PM
To: Multiple recipients of list ORACLE-L

Would any of you who have convenient access to pre-9i databases be willing to test something for me? It used to be possible to specify a date format element twice in a format model. For example, in the following the month is specified twice:

ALTER SESSION SET NLS_DATE_FORMAT = 'Mon (MM) DD, YYYY';

In Oracle9i this is no longer possible. The thing is, I'm not sure in what version the rules changed. Is the above possible in 8i? in 8? in 7?

Best regards,

Jonathan Gennick
mailto:jonathan_at_gennick.com * 906.387.1698 http://Gennick.com * http://MichiganWaterfalls.com * http://ValleySpur.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Jonathan Gennick
  INET: jonathan_at_gennick.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: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.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 Mon Feb 11 2002 - 22:27:26 CST

Original text of this message

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