"Emils Klotins" <emils(at)mail(dot)usis(dot)bkc(dot)lv> writes:
> I am looking basically for something like:
> select date_part('%d %m %y', now()::datetime);
I think to_char() addresses this in 7.0, although it doesn't use
the strftime formatting conventions (blame Oracle for that ;-)).
> Will there be a possibility of string concatenation in 7.x so that
> I don't have to put all the concats in brackets? (ie. currently I
> have to: ((((X || Y) || Z ) || A) || B)
> which is of course also rather clumsy and leads to lots of
> typos in case of more complex expressions.
regression=# select 'a'::text || 'b'::text || 'c'::text;
6.5.3 behaves the same ...
regards, tom lane
In response to
pgsql-sql by date
|Next:||From: Emils Klotins||Date: 2000-03-03 08:51:46|
|Subject: Re: [SQL] date_part - multiple values in format? |
|Previous:||From: Emils Klotins||Date: 2000-03-02 15:10:07|
|Subject: date_part - multiple values in format?|