Thursday, 11 June 2009

Inconsistencies When running Sharepoint CAML Queries

Something I noticed today:

When using SPQuery if the CAML syntax is invalid you will receive all the results for that list,regardless of any condition you have applied in your CAML.

However if you were to do the same query using SPSiteDataQuery, you would receive no results.

Nice!

No comments:

Post a Comment