From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | les(at)Mcs(dot)Net (Leslie Mikesell) |
Cc: | joden(at)Lee(dot)k12(dot)nc(dot)us, pgsql-sql(at)postgreSQL(dot)org |
Subject: | Re: [SQL] Concatenation in selects |
Date: | 1998-09-04 01:04:32 |
Message-ID: | 199809040104.VAA13352@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
> 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(at)candle(dot)pha(dot)pa(dot)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)
From | Date | Subject | |
---|---|---|---|
Next Message | Federico Passaro | 1998-09-04 08:57:09 | Re: [SQL] Forming Query |
Previous Message | Leslie Mikesell | 1998-09-03 19:33:12 | Re: [SQL] Concatenation in selects |