I have the date in the format of yy-mm-dd and I want to convert it to dd-mm-yyyy. I used the following select statement:
select convert(varchar(30), hiredate, 110)
from emp;
But, I keep getting an error that there's a missing expression:
ORA-00936: missing expression
Can someone please guide me?