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

Query explanation request

Status
Not open for further replies.

cleanair4me

Technical User
Joined
May 16, 2008
Messages
61
I am trying to figure out what the last part (firstname & '' = '') of the query in my Access 2000 SQL is doing:
Code:
select * from tableOne where firstname <> ''
and firstname & '' = ''

Please advise.
 
For me, this query should always return 0 row.
You wanted this ?
select * from tableOne where firstname is null

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
It looks like a very clumsy way of trying to find records where FirstName is Null (not to mention that it wouldn't work any ways).

I think PHV's SQL has the effect that the original author intended.

Joe Schwarz
Custom Software Developer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top