0

I got some really big lists where I need Counts from specific queries without collecting the data.

In SQL it would be something like

SELECT COUNT(*) FROM MyTable WHERE column1Value=536;

As CAML does not seem to have any possibilities to do that, how would you achieve that goal with a standard SharePoint List.

To be clear: I do NOT want to collect all corresponding items and then do a count on them

Thx

4

1 回答 1

1

According to a similar question, Determine Total Count Of Items Returned By SPQuery, it is not possible to get a count without selecting the items.

于 2012-10-30T15:28:03.860 回答