Subject Re: Check for blank dates
Author Adam
--- In firebird-support@yahoogroups.com, "ra8009" <ra8009@y...> wrote:
> How do I write a query that checks for blank using a statement in
the
> WHERE clause?

There is no such concept as "blank". I assume you mean null dates.
NULL means undefined or unknown. Blank can refer to known but known
to be empty.

It might sound pedantic, but if you start having to deal with
strings, you will get very confused when you find that

WHERE STRINGFIELD = ''

and

WHERE STRINGFIELD IS NULL

return different results.

Assuming you understand all that, the way to find a NULL date is

WHERE DATEFIELD IS NULL

Adam