Actually I was trying to get all columns within a date range in Oracle db and I am successful in doing so in SQL Developer but when I execute the same code in SQL command line interface I get an error
ORA-01843 : not a valid month
I know its an error which comes in to_date format but it gets executed in SQL developer as exactly I expected but not in SQL command line. Why does this happen??
select to_date('01/04/2020') from dual;
Even this command is not working.
I had tried all format methods for the to_date method conversion and I checked nls_date_format which shows 'DD-MM-RR'