Trying to get a date out of a table, unforunately it is in the format "dd.mm.yyyy". Can someone suggest how I can change this into "dd-Mon-yyy"?
It needs to be in a suitable format for inserting into SQL Server, and I've found that this format works.
I've tried the following:
to_char(translate("DOCDATE",'.','/'),'dd-Mon-yyyy HH24:MI:SS'), but it says it's an invalid number. If I don't use the translate function, to_char doesn't think it's a date.
I'm stuck!
It needs to be in a suitable format for inserting into SQL Server, and I've found that this format works.
I've tried the following:
to_char(translate("DOCDATE",'.','/'),'dd-Mon-yyyy HH24:MI:SS'), but it says it's an invalid number. If I don't use the translate function, to_char doesn't think it's a date.
I'm stuck!