A column has values like '05-11' in char datatype. But when I export the records into excel file, it gets converted to 05-Nov. How to fix this issue in PL/SQL?
I tried the below code.code is the column name
Update query_table q set code =
substr(q.code,0,instr(q.code,'-')-1)||'-'||substr(q.code,instr(q.code,'-')+1,2);
But this doesn't seem to be working. Please help if you have faced similar issue before?