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 -> Date format columns

Date format columns

From: Yaron Avior <yavior_at_mercury.co.il>
Date: 8 Nov 2001 01:52:03 -0800
Message-ID: <1b00d968.0111080152.5f0ca111@posting.google.com>


Hi,
I want to use an american date format (mm/dd/yy) when inserting data into tables. i.e : INSERT INTO TABLE (X,Y,DATE) VALUES (9,'DDD','11/24/01').
I receive the following error : "ORA-01843: not a valid month", although I have a trigger on my db : TRIGGER TR_LOGON AFTER LOGON ON DATABASE
BEGIN
         EXECUTE IMMEDIATE('ALTER SESSION SET NLS_DATE_FORMAT=MM/DD/YY'); END; what should I do to be able using queries as described ?

thanks Received on Thu Nov 08 2001 - 03:52:03 CST

Original text of this message

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