| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> ?? INSERT VALUES Statement with Date & Time Value??
All,
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 CDT
![]() |
![]() |