* A question about bitwise AND in a CAML SharePoint query
@ 2010-01-14 17:35 Vince Yotsukura
  2010-01-14 20:02 ` [Caml-list] " Richard Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Vince Yotsukura @ 2010-01-14 17:35 UTC (permalink / raw)
  To: caml-list
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
Hello, 
 
I would like to subscribe to the CAML mailing list and ask the following
question: 
 
Is there a way to include a bitwise AND operator in a CAML query? I am
trying to retrieve items from a SharePoint document library and I want
to retrieve items which have particular bitwise values in an integer
field for the library. For example, I have an int field called DOCSTATUS
which holds various bitwise values and I want to write a CAML query on
DOCSTATUS that would be equivalent to the SQL query below: 
WHERE (DOCSTATUS & 8 = 0)
   AND 
(DOCSTATUS & 1 = 1)
 
Thank you very much. 
 
Vince Yotsukura 
Software Engineer 
Quadel Consulting Corporation 
1200 G Street NW, Suite 700 
Washington, DC 20005 
Main: (202) 789-2500
Direct: (202) 513-6532 
Fax: (202) 898-0632
www.quadel.com 
 
[-- Attachment #2: Type: text/html, Size: 8352 bytes --]
^ permalink raw reply	[flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-14 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-14 17:35 A question about bitwise AND in a CAML SharePoint query Vince Yotsukura
2010-01-14 20:02 ` [Caml-list] " Richard Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox