TO_DATE - ignore character ?
602335Jan 23 2008 — edited Jan 23 2008Hey guys!
I have to convert the given format: 2007-02-13T13:35:35.997 into a oracle date-datatype.
I am trying it this way:
TO_DATE(variable,'YYYY-MM-DDHH-MI-SS.FF3') but I am getting the error:
ORA-01821: date format not recognized or
ORA-01830: date format picture ends before converting entire input string
I think the problem is the "T" between date and time. So how can I ignore the T ?
Any ideas?
thanks and greets
bang