Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: using empty date field in query

Re: using empty date field in query

From: Bertrand Guillaumin <guillauminb_at_hotmail.com>
Date: 22 Mar 2006 04:50:55 -0800
Message-ID: <1143031855.844231.308990@v46g2000cwv.googlegroups.com>


If the date is null it is not used with operators(=,<,> ..) (in fact the use of an operator prevents the return of any Null column.

So you should try something like

SELECT COUNT(0) FROM prop_date where p_date is null.

Regards, Received on Wed Mar 22 2006 - 06:50:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US