I have small problem on Oracle PL-SQL,
I created a function
that at the end looks like this :
wynik := concat(miesiac,concat(dzien,rok));
w_date := TO_DATE(wynik);
return w_date;
It works fine but it returns date in format MM/DD/YYYY, and i would want to return in format of DD MONTH YYYY, how can i reach that without alter sesion on global settings?
I tried messing with:
w_date := TO_DATE(wynik,'DD MONTH YYYY');
But it gives me errors....
Thanks for your help.