7 out of 12 rated this helpful - Rate this topic

Query Schema

Windows SharePoint Services 3

The Query schema of Introduction to Collaborative Application Markup Language (CAML) is used in various ways within the context of Windows SharePoint Services to define queries against list data. You can assign CAML query strings, for example, to the Query property of several classes in the object model in order to return data, or to method parameters of the Lists Web Service to work remotely with data. CAML queries are also used in the context of CAML views to return specific data.

Query Elements

Query

    Where

        Logical Joins

        And

            [Logical Joins]

            [Comparison Operators]

        Or

            [Logical Joins]

            [Comparison Operators]

        Comparison Operators

        BeginsWith

            FieldRef

            Value

            XML

        Contains

            FieldRef

            Value

            XML

        Eq

            FieldRef

            Value

            XML

        Geq

            FieldRef

            Value

            XML

        Gt

            FieldRef

            Value

            XML

        Leq

            FieldRef

            Value

            XML

        Lt

            FieldRef

            Value

            XML

        Neq

              FieldRef

              Value

              XML

        DateRangesOverlap

            FieldRef

            Value

        IsNotNull

            FieldRef

        IsNull

            FieldRef

    Order/Group Operators

    OrderBy

        FieldRef

    GroupBy

        FieldRef

See Also

Other Resources

View Schema
List Schema

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.