SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm Looking for a query builder that can assist me in creating CAML queries that will contain inner joins.

Does anything like this exist?

Update: To ask my question more clearly, I am looking for a software package that assists in writing these join queries more easily. Previously we had CAML Builder, but that doesn't support joins.

share|improve this question
up vote 6 down vote accepted

Yes, this was a feature added in SharePoint 2010. Take a look at the SPQuery.Joins property, and here's an example by Tobias Zimmergren.

This is also possible using LINQ to SharePoint, which generates the appropriate CAML behind the scenes.

share|improve this answer
i found that linq to query has an issue in a high volume scenarios. Be careful and use with caution. – Roman Apr 4 '14 at 6:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.