Help with a query

  • Thread starter Thread starter Guy Cohen
  • Start date Start date
G

Guy Cohen

Hi all.
Lets say I have tblCompanies with
CompanyName (string)
Products (long)

How do I select the records that have a number in products that has BIT 0
and BIT 1 on.
Example:
If the table has:
C1, 0
C2, 19
C3, 77

The query should return only C2
19=10011

TIA
Guy
 

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