RE:

Поиск
Список
Период
Сортировка
От Taral
Тема RE:
Дата
Msg-id 000201bdfa4f$fd6ecf60$3b291f0a@taral
обсуждение исходный текст
Ответ на ...  ("Doug Smith" <doug@the-bridge.net>)
Список pgsql-general
> ex. select lastname||' '||firstname||' '||address

It's because the parser has no defined precedence for operators like ||.

Try:

select (((lastname || ' ') || firstname) || ' ') || address;

Yes, I know it's annoying. But there's a problem with defining precedence in
the grammar for operators like this. Sorry.

Taral


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: your mail
Следующее
От: "Doug Smith"
Дата:
Сообщение: ...