Geq element (Query)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Arithmetic operator that means "greater than or equal to." This element can be used within a Where element in a query.

  <FieldRef Name = "Field_Name"/>
  <Value Type = "Field_Type"/>
  <XML />

Elements and attributes

The following sections describe attributes, child elements, and parent elements.



Child elements

Parent elements


  • Minimum: 0
  • Maximum: Unbounded


Remember that Collaborative Application Markup Language (CAML) is case-sensitive; note the lowercase "eq" in the Geq element name.


The following example queries for cases where the Expires field value either equals an empty string or is greater than or equal to the current date:

        <FieldRef Name="Expires" />
        <FieldRef Name="Expires" />
        <Value Type="DateTime">
          <Today />
    <FieldRef Name="Modified" Ascending="FALSE" />

See also