Re: pl/pgsql string combining

Поиск
Список
Период
Сортировка
От Bino Oetomo
Тема Re: pl/pgsql string combining
Дата
Msg-id 4B28A95F.3050108@indoakses-online.com
обсуждение исходный текст
Ответ на Re: pl/pgsql string combining  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
Dear Mr. Stehule

Thankyou for your super prompt (came to my mailbox less then 2 minutes
since my post) enlightment.

I'll try it

Sincerely
-bino-

Pavel Stehule wrote:
> Hello
>
> NULL and any is NULL. So you have to use "coalesce" function.
>
> like
>
> NEW.prefix = ctrcode || coalesce(NEW.code, '');
>
> Regards
> Pavel Stehule
>
>


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: pl/pgsql string combining
Следующее
От: Mike Christensen
Дата:
Сообщение: Re: Need some advice on a difficult query