I am trying to insert data having datatype as nvarchar to a column having data type as date and oracle is doing the conversion wrongly. I tried couple of things and it isn't working. Could some please suggest an alternative. I am using oracle 12cc
The source column have the value in the format 31-DEC-99 but when I use to_date to convert it, the value becomes 0099-12-31.
select to_date(EFCTV_DT,'yyyy-mm-dd') from table1;