Re: CONCAT function

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: CONCAT function
Дата
Msg-id 200309161334.19516.dev@archonet.com
обсуждение исходный текст
Ответ на CONCAT function  ("Marek Lewczuk" <newsy@lewczuk.com>)
Ответы Re: CONCAT function  ("Marek Lewczuk" <newsy@lewczuk.com>)
Список pgsql-general
On Tuesday 16 September 2003 13:45, Marek Lewczuk wrote:
> Hello,
> As I'm in the middle of the migration process form mysql to pg I found
> that there is no CONCAT function which is available in mysql. Can
> anybody tell me how to implement this function using plPERL or plPGSQL
> language ?

You want to use the || operator, e.g. 'hello' || ' ' || 'world'

Full details of operators and functions can be found in the "data types"
section of the documentation.

--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: Francois Suter
Дата:
Сообщение: Re: 4D to PostgreSQL tools
Следующее
От: "Marek Lewczuk"
Дата:
Сообщение: Re: CONCAT function