Hello,
Hope everyone is doing good. I need small help on changing date format for screen_date.
One of my Oracle 11g Table has dates loaded as 14 Nov, 2013 (VARCHAR2). I would like to convert that to DD-MM-YYYY. For some reason my query is not working.
Here is the query that i am using to convert the date format Case When screen_date <> 0 Then to_date(screen_date, 'DD-MM-YYYY HH24:MI:SS') Else Null End as screen_date
Here is the error I am getting when ever i try to execute above query
ORA-01722: invalid number
01722. 00000 - "invalid number"
*Cause:
*Action:
Not sure what else do i need to do to change the date formats.
Any help will be appreciated
Thanks,
Naveen