Re: What is || doing

Поиск
Список
Период
Сортировка
Искать
От
Tim Landscheidt
Тема
Re: What is || doing
Дата
Msg-id
m3y60nmmzj.fsf@passepartout.tim-landscheidt.de
Список
Дерево обсуждения
Re: What is || doing Tim Landscheidt <tim@tim-landscheidt.de>
Frank Lanitz  wrote:

> I've got an query which contains || inside the select statement and I'm
> not sure, what this is doing. Can you help me out a bit or send me a
> link to documentation where I can find this?

> Example:

> SELECT 'ba_'|| foo || '_pr_'
> FROM 'foobaa'
> WHERE id=1234;

It's a string concatenation, cf.
.

Tim
В списке pgsql-novice по дате отправления
От: Frank Lanitz
Дата:
Сообщение: Re: What is || doing
От: matty jones
Дата:
FAQ