I am trying to convert a timestamp into date, but the following is not working.
select to_date('28-06-21 23:53:58.123', 'dd-MM-yy HH24:MI:SS.FF') from dual;
It says that the date format is not recognized. The problem is caused by the sub-seconds part, as the following works.
select to_date('28-06-21 23:53:58', 'dd-MM-yy HH24:MI:SS') from dual;
How can I fix this?