Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

search records with NULL

Status
Not open for further replies.

ikim2000

MIS
May 23, 2002
22
CA
I'm trying to delete records with a column that has null value and I can't get the correct syntax. I tried the code below, but end up with an error.
------------------------------------------------
DELETE FROM tblOrder WHERE OrderDate = Null
------------------------------------------------
What would be the correct code?

Thanks,
Ik
 
Try that again:

DELETE FROM tblOrder WHERE OrderDate IS Null
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top