pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: les@Mcs.Net
Cc: joden@Lee.k12.nc.us
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Concatenation in selects
Date: Thu, 3 Sep 1998 21:04:32 -0400 (EDT)
Message-ID: <199809040104.VAA13352@candle.pha.pa.us> (raw)
In-Reply-To: <199809031933.OAA19204@Jupiter.Mcs.Net>

> You should also be able to use the SQL concatenation operator '||'.  It
> doesn't seem to be able to understand more than 2 things at once so
> you have to use parens for grouping.  I don't know if that is an SQL
> requirement or a postgresql limitation.
> 
>   select (first_name || ' ') || last_name as full_name from users;

Yes, that is in the 6.4 bugs list, and if it is not fixed, will be added
to the TODO list.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)



view thread (4+ messages)

Message-ID: <199809040104.VAA13352@candle.pha.pa.us>
Permalink:  ../199809040104.VAA13352@candle.pha.pa.us/
Also on:    postgresql.org/message-id/199809040104.VAA13352@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: maillist@candle.pha.pa.us, les@Mcs.Net, joden@Lee.k12.nc.us
  Subject: Re: [SQL] Concatenation in selects
  In-Reply-To: <199809040104.VAA13352@candle.pha.pa.us>
  References: <199809031933.OAA19204@Jupiter.Mcs.Net> <199809040104.VAA13352@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox