My date value is stored as varchar2
and the value is 15/August/2009,4:30 PM
, how to convert this to a proper date format like DD-MM-YYYY
.
This question is related to
oracle
oracle10g
plsqldeveloper
You need to use the TO_DATE
function.
SELECT TO_DATE('01/01/2004', 'MM/DD/YYYY') FROM DUAL;
Source: Stackoverflow.com