Re: isnull() function in pgAdmin3

Поиск
Список
Период
Сортировка
От dudedoe01
Тема Re: isnull() function in pgAdmin3
Дата
Msg-id 1475501949339-5924161.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: isnull() function in pgAdmin3  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: isnull() function in pgAdmin3  (Ken Tanzer <ken.tanzer@gmail.com>)
Re: isnull() function in pgAdmin3  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: isnull() function in pgAdmin3  (Raymond O'Donnell <rod@iol.ie>)
Re: isnull() function in pgAdmin3  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
What is the most feasible way to emulate the below MySQL function into
postgreSQL. Since the isnull() function is no longer supported in 9.6
version. I have tried every trick in the hat to get the desired results.
Still 'RPG INV' doesn't show only the other two then options show up.

(case
            when
                ((`s`.`Funding_Date` = '')
                    and (isnull(`s`.`Actual_Close_Date`)
                    or (`s`.`Actual_Close_Date` = '')))
            then
                'RPG_INV'
            when
                ((isnull(`s`.`Funding_Date`)
                    or (`s`.`Funding_Date` <> ''))
                    and ((`s`.`Actual_Close_Date` = '')
                    or isnull(`s`.`Actual_Close_Date`)))
            then
                'Builder_Inventory'
            else 'Owner_Inventory'
        end) AS `Lot_Status`



--
View this message in context: http://postgresql.nabble.com/isnull-function-in-pgAdmin3-tp5923122p5924161.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: otar shavadze
Дата:
Сообщение: Understanding “max_wal_size” and “min_wal_size” parameters default values from postgresql.conf file
Следующее
От: Edson Richter
Дата:
Сообщение: Installing pgAdmin 4 in Oracle Enterprise Linux 7