Re: function nvl(numeric, integer) does not exist

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: function nvl(numeric, integer) does not exist
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B50FEA95A@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на function nvl(numeric, integer) does not exist  (clingareddy@vsoftcorp.com)
Список pgsql-admin
clingareddy@vsoftcorp.com wrote:
> I am getting below error while running Below mention query in postgres 9.2.
> Please help on this..
> 
> ERROR: function nvl(numeric, integer) does not exist
> LINE 1: SELECT USER_ID, USER_PWD, INST_ID, NVL(ROLE_ID,0) AS ROLE_ID...
> ^
> HINT: No function matches the given name and argument types.. You might need to add explicit type
> casts.

There is no NVL function in PostgreSQL.
Use the standard conforming COALESCE instead.

Yours,
Laurenz Albe

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

Предыдущее
От: Ville Rantamaula
Дата:
Сообщение: Re: How to create a read only user account to access to all pg database?
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: Question on Hot Standby in PostgreSQL