null date comparison

Поиск
Список
Период
Сортировка
От Jeff Sacksteder
Тема null date comparison
Дата
Msg-id 71650A6F73F1D411BE8000805F65E3CB198190@SRV-03
обсуждение исходный текст
Список pgsql-general
I'm having trouble doing a select on empty date fields.

Suppose my table is composed of employee_number(char), hire_date(date), and
termination_date(date).
I would expect to be able to say:

    'select * from employee_tables where termination_date = null'
or:
    'select * from employee_tables where isfinite(termination_date) <>
1'

...but no luck. What is the proper way to select undefined dates?



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

Предыдущее
От: "Romel Tarin"
Дата:
Сообщение: Re: Seeking PostgreSQL DBA/programmer
Следующее
От: "Damjan Pipan"
Дата:
Сообщение: Re: modifying new tuple on insert in c trigger