<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Querying first N rows in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-first-n-rows/m-p/96391#M436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to get the first N rows with a query?&amp;nbsp; I've tried the standard SQL ".../query?where=rownum&amp;lt;10", but that caused an error.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Sep 2010 18:20:33 GMT</pubDate>
    <dc:creator>EricShort</dc:creator>
    <dc:date>2010-09-24T18:20:33Z</dc:date>
    <item>
      <title>Querying first N rows</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-first-n-rows/m-p/96391#M436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to get the first N rows with a query?&amp;nbsp; I've tried the standard SQL ".../query?where=rownum&amp;lt;10", but that caused an error.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 18:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-first-n-rows/m-p/96391#M436</guid>
      <dc:creator>EricShort</dc:creator>
      <dc:date>2010-09-24T18:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Querying first N rows</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-first-n-rows/m-p/96392#M437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if you ever got a reply to this but the solution would be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/MapServer/28/query?where=NAME+LIKE+%27%25OPEN%25%27+AND+ROWNUM+%3C%3D+3&amp;amp;f=html&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you also know if there is a way to do something like ROWNUM via ArcObjects as this is essentially Oracle specific and wouldn't work for data in a File Geodatabase for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 09:23:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-first-n-rows/m-p/96392#M437</guid>
      <dc:creator>AndrewCox</dc:creator>
      <dc:date>2011-01-05T09:23:29Z</dc:date>
    </item>
  </channel>
</rss>

