"Katka a Daniel Dunajsky" <daniel_katka(at)hotmail(dot)com> writes:
> Why this does not gives correct result?
You've missed the trailing blanks in TO_CHAR's result.
Probably you should be using FMMonth not Month as the format specifier.
regards, tom lane