Re: Why this query does not work?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Katka a Daniel Dunajsky" <daniel_katka(at)hotmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Why this query does not work?
Date: 2003-05-12 21:53:43
Message-ID: 17123.1052776423@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message A.Bhuvaneswaran 2003-05-13 05:57:33 Re: select 3 characters
Previous Message Stephan Szabo 2003-05-12 20:58:14 Re: create type question