Re: [GENERAL] concatenation of string literals

Поиск
Список
Период
Сортировка
От Guido Piazzi
Тема Re: [GENERAL] concatenation of string literals
Дата
Msg-id Pine.LNX.3.96.980718171448.130C-100000@ik2gdx.ampr.org
обсуждение исходный текст
Ответ на concatenation of string literals  (Kurt Seel <kseel@utcorp.com>)
Список pgsql-general
On Fri, 17 Jul 1998, Kurt Seel wrote:

> This works :
> psql -c "select arcode ||  phnum from nccbor_member;"
>
>  But this doesn't
> psql -c " select arcode || '-' || phnum from nccbor_member;"

Try:
psql -c " select (arcode || '-') || phnum from nccbor_member;"

Regards,
------------------------------------------------------------------------
// Guido Carlo Piazzi                       Accompagnatore naturalistico
// gpiazzi@nemo.it            Visitate il sito WWW.ParcoDelTicino.Pmn.It
------------------------------------------------------------------------


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

Предыдущее
От: Maarten Boekhold
Дата:
Сообщение: Re: [GENERAL] PERL Interface - upgrade from 6.2.1 to 6.3.2
Следующее
От: Michael
Дата:
Сообщение: Boy I hate upgrades..Cannot connect locally