Re: pgplsql - Oracle nvl

Поиск
Список
Период
Сортировка
От Jeffrey Melloy
Тема Re: pgplsql - Oracle nvl
Дата
Msg-id 3F4D2ECF.7020802@visualdistortion.org
обсуждение исходный текст
Ответ на pgplsql - Oracle nvl  (Christian Traber <christian@traber-net.de>)
Список pgsql-general
Hi,

>
> I'll try to switch from Oracle to postgres for some small applications.
> Is it possible to build functions like Oracle's nvl or decode with
> pgplsql?
> How can I make a function like nvl that works for every datatype?
>
> Best regards,
> Christian

Try coalesce.  The syntax is the same as nvl.

Jeff


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

Предыдущее
От: expect
Дата:
Сообщение: Re: The ..... worm
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: greek char