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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

empty fields

Status
Not open for further replies.

monkeymeister

Programmer
Mar 17, 2005
58
0
0
GB
How do you specify empty fields in an SQL query? For example, I have a lot of fields in a database which aren't null but are just empty. I've tried WHERE FIELD <> "" to remove any records which have an empty field from the query results, but it doesn't work. What is the correct way to do this?


Cheers,

Mike
 
Doh! Figured it out...should be '' for SQL instead of ""...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top