number of not null arguments

Поиск
Список
Период
Сортировка
От Murat Kabilov
Тема number of not null arguments
Дата
Msg-id AANLkTim6Smk5BtOBSNK=s6AWiADxbzrYrqon79MC2cof@mail.gmail.com
обсуждение исходный текст
Ответы Re: number of not null arguments  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
Hello, 

Is there a function which returns number of not null arguments?

SELECT notnull_count(1, 1, NULL, NULL)
 notnull_count 
---------------
             2

SELECT notnull_count(ARRAY[1,2,3], ARRAY[10,20,30], NULL, ARRAY[NULL])
 notnull_count 
---------------
             3

Thanks

--
Murat Kabilov

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

Предыдущее
От: Martin Gainty
Дата:
Сообщение: Re: plpyhton
Следующее
От: Leif Jensen
Дата:
Сообщение: Help on explain analyze