I am trying to get the Month name from the date so that I can use the month in the Tableau. Using the MONTH function, I am getting the Month number 1-12 which is coming as Measure Columns in the Tableau.
(https://i.stack.imgur.com/mbTQ9.png)
that's not how I want it.
Then I tried this;
to_char(to_date(date_required, 'DD-MM-YYYY'), 'Month') As Base_Month
It gives me this error;
[Informix][Informix ODBC Driver][Informix]It is not possible to convert between the specified types. [Informix][Informix ODBC Driver][Informix]Invalid cursor received by sqlexec.
I have tried almost every solution but no help.