Selecting rows without a value for Date/Time columns

Posted by Ross on Stack Overflow See other posts from Stack Overflow or by Ross
Published on 2010-03-25T13:16:02Z Indexed on 2010/03/25 13:23 UTC
Read the original article Hit count: 298

Filed under:
|

I'm running this query:

SELECT TOP 1 [DVD Copy].[Stock No]
FROM [DVD Copy]
WHERE [DVD Copy].[Catalogue No] =[Forms]![New Rental]![Catalogue No]
And [Issue Date] = Null;

Which works fine without the null check for Issue Date. I'm trying to select rows without a Date in the Issue Date column. Is Null the wrong kind of value to use for here?

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about sql