Re: Add one column to another

Поиск
Список
Период
Сортировка
От vipul shah
Тема Re: Add one column to another
Дата
Msg-id CALXQATYVAhfo+5UOix2tJ-tkn2pPfOd_Cr-1fo0E2CoxXZe_eA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add one column to another  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-sql
Check this link.

It's useful to resolve the issue.

http://blog.ropardo.ro/2010/05/04/extending-postgresql-a-better-concat-operator/

- Vipul


On Thu, Aug 25, 2011 at 12:54 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
On Thu, Aug 25, 2011 at 8:52 AM, Oliveiros d'Azevedo Cristina
<oliveiros.cristina@marktest.pt> wrote:
> Something like this...?
>
> SELECT first_name,surname, email1 || ';' || email2
> FROM t_your_table;

If there's any nulls in email1 or email2 they'll need special handling
with coalesce.

--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

В списке pgsql-sql по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Add one column to another
Следующее
От: ppdcc@sapo.pt
Дата:
Сообщение: st_offsetcurve