Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> to_date and milliseconds
Hello,
I am trying to convert a string to date.
INSERT INTO table VALUES (to_date('2007-01-11 14:46:28.035','yyyy-mm- dd hh24:mi:ss.??'));
I was trying to use ms or ff3 where are the "??" and I am getting an error:
ERROR at line 1: ORA-01821: date format not recognized
I can not convert this date with milliseconds, but without
milliseconds works perfectly: to_date('2007-01-11 14:46:28','yyyy-mm-
dd hh24:mi:ss').
Any Idea?!
Thank you. Received on Wed Jul 04 2007 - 13:42:47 CDT