PDA

Click to See Complete Forum and Search --> : Simple SQL one


a2427
Nov 15th, 2000, 10:07 PM
I want to to select all records from a table where a field is not null or is not a zero length string.

SELECT * From tblTable Where fldFieldName = <<what goes here>>

thanks

Surgeon
Nov 16th, 2000, 01:26 AM
Something like this maybe :

SELECT *
FROM tblName
WHERE (Not fieldName Is Null) OR (fieldName<>"");

Surgeon