?? INSERT VALUES Statement with Date & Time Value??

From: Steve Reiss <NOSPAM_at_cruzio.com>
Date: 1997/08/26
Message-ID: <34032187.0_at_news1.ValuServe.Com>#1/1


All,

[Quoted] What is the proper datetime format to insert a date value that contains both date & time??

I've tried the following :

INSERT INTO Names (Name, DOB) VALUES ('Joe', TO_DATE('03/05/1949, 13:05:02', 'MM/DD/IYYY, HH24:MI:SS')) It fails with the error:

 ORA-01820: format code cannot appear in date input format

Please reply!  

Steve
+--------------------------------------------------------+
Anti-SPAM Device in Place :
To Reply : Change email address from NOSPAM to

           stever
+--------------------------------------------------------+
 Madness takes its toll. Please have exact change ready.
+--------------------------------------------------------+
Received on Tue Aug 26 1997 - 00:00:00 CEST

Original text of this message