Re: Dates and NULL's`

Поиск
Список
Период
Сортировка
От John Fabiani
Тема Re: Dates and NULL's`
Дата
Msg-id 201105101051.01369.johnf@jfcomputer.com
обсуждение исходный текст
Ответ на Re: Dates and NULL's`  (Richard Broersma <richard.broersma@gmail.com>)
Список pgsql-sql
On Tuesday, May 10, 2011 10:30:58 am Richard Broersma wrote:
> On Tue, May 10, 2011 at 10:24 AM, John Fabiani <johnf@jfcomputer.com> wrote:
> >> spi=> SELECT NULL::DATE >= '2011-04-01'::DATE AND NULL::DATE <=
> >> '2011-04-30'::DATE;
> >>  ?column?
> >> ----------
> >> 
> >> (1 row)
> > 
> > It looks like you are saying the NULLS will be returned too
> 
> The WHERE clause will only return rows is the arguments all evaluate
> to TRUE.  No rows will be returned for rows that cause the WHERE
> clause to evaluate to a NULL value.

That is what I have seen (so far).  But I knew I should ask the question 
anyway of suffer later.

Johnf


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

Предыдущее
От: Richard Broersma
Дата:
Сообщение: Re: Dates and NULL's`
Следующее
От: Samuel Gendler
Дата:
Сообщение: Re: Sorting Issue