Converting date to Timestamp !!
Posted: Thu Nov 19, 2009 5:38 pm
Hello:
I get an external file that has "Record Date" as MM/DD/YYYY HH24:MM (11/19/2009 18:24) format.. The rows abort trying to load into oracle table due to the date/time format. In oracle that 'Record Date' is defined as Timestamp (YYYY-MM-DD HH24:MI:SS). Upon using search functionality here, I used Iconv/Oconv functions without any luck... I am home and cannot paste what I am doing...
Any pointers or code to help me convert the input column from "MM/DD/YYYY HH24:MI" to Oracle's "YYYY-MM-DD HH24:MI:SS" format is highly appreciated.
Thank You,
-Sam
I get an external file that has "Record Date" as MM/DD/YYYY HH24:MM (11/19/2009 18:24) format.. The rows abort trying to load into oracle table due to the date/time format. In oracle that 'Record Date' is defined as Timestamp (YYYY-MM-DD HH24:MI:SS). Upon using search functionality here, I used Iconv/Oconv functions without any luck... I am home and cannot paste what I am doing...
Any pointers or code to help me convert the input column from "MM/DD/YYYY HH24:MI" to Oracle's "YYYY-MM-DD HH24:MI:SS" format is highly appreciated.
Thank You,
-Sam