Odd query result

  • Thread starter Thread starter Paradigm
  • Start date Start date
P

Paradigm

I have a query
SELECT * FROM mydata WHERE mydata.Status<>"S"
The problem is it also filters out all data where the status is blank or
null
Alec
 
From Paradigm :
I have a query
SELECT * FROM mydata WHERE mydata.Status<>"S"
The problem is it also filters out all data where the status is blank or
null
Alec

Try
SELECT * FROM mydata WHERE Nz(mydata.Status,"")<>"S"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top