I have a VARCHAR2 value in the format '14 -SEP-11 12.33.48.537150 AM 'and I need to convert it to TIMESTAMP as it is. What is it like,
SELECT TO_DATE('14-SEP-11 12.33.48.537150 AM', '<format_string>') FROM DUAL;
I want the return from the above query to be '14 -SEP-11 12.33.48.537150 AM 'in TIMESTAMP data format.
To do this, there must be a format_string format.
Please help as I tried a lot of things, but nobody works. :(
I am using Oracle 11gR2.
Thanks.
source share