Re: Auomatic numbering, replacing nulls and IF

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Auomatic numbering, replacing nulls and IF
Дата
Msg-id 3C98A74B.CEC9C0FA@fourpalms.org
обсуждение исходный текст
Ответ на Auomatic numbering, replacing nulls and IF  ("Pestilence" <me@work.com>)
Список pgsql-general
...
> 2) The ISNULL function in both Oracle and MS-SQL takes 2 numbers and returns
> the second if the first is null, otherwise it returns the first. ISNULL in
> Postgres seems to be something quite different. Before I go writing my own
> function to do it, is there one already?

Look at COALESCE(). Does ISNULL() actually do something different in
Oracle and M$SQL? I'm curious because our definition conforms to the
SQL9x standard, and those databases claim to generally conform also.

                           - Thomas

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

Предыдущее
От: "Tom Pfau"
Дата:
Сообщение: Re: Visual display tool?
Следующее
От: "Peter Darley"
Дата:
Сообщение: Re: Visual display tool?