<?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 Re: Unable to query - 10.2.2 in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405011#M11560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Hmm... your query indicates that both the month and year are part of the same date field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR_STATUS &amp;lt;&amp;gt; 'P' AND MONTH(&lt;STRONG&gt;INSPECT_DATE&lt;/STRONG&gt;)=5 AND YEAR(&lt;STRONG&gt;INSPECT_DATE&lt;/STRONG&gt;)=2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;i want to query this column for month only and there is another column for year&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 13:19:16 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-05-13T13:19:16Z</dc:date>
    <item>
      <title>Unable to query - 10.2.2</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405007#M11556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to query my rest service on following where clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"CLEAR_STATUS &amp;lt;&amp;gt; 'P' AND MONTH(INSPECT_DATE)=5 AND YEAR(INSPECT_DATE)=2015"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can able to use in ArcGIS 10 earlier, Please help how can i query month and year specifically on date column using ESRI server 10.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 10:49:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405007#M11556</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-05-13T10:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query - 10.2.2</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405008#M11557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; When you go to your rest end point for this particular layer of your map service do it say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Supports Advanced Queries: &lt;/STRONG&gt; &lt;SPAN style="color: #e23d39;"&gt;true&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 12:03:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405008#M11557</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-05-13T12:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query - 10.2.2</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405009#M11558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You may also wan tot try this SQL statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR_STATUS &amp;lt;&amp;gt; 'P' AND INSPECT_DATE BETWEEN '2015-5-01' AND '2015-05-31'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 12:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405009#M11558</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-05-13T12:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query - 10.2.2</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405010#M11559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response. I will be trying advanced to true when tmrw i back to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, as per your second reply i cannot use between beacuse i want to query this column for month only and there is another column for year . Please check my query which i have posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 13:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405010#M11559</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-05-13T13:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query - 10.2.2</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405011#M11560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Hmm... your query indicates that both the month and year are part of the same date field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR_STATUS &amp;lt;&amp;gt; 'P' AND MONTH(&lt;STRONG&gt;INSPECT_DATE&lt;/STRONG&gt;)=5 AND YEAR(&lt;STRONG&gt;INSPECT_DATE&lt;/STRONG&gt;)=2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;i want to query this column for month only and there is another column for year&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 13:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405011#M11560</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-05-13T13:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query - 10.2.2</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405012#M11561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My bad , thanks for resolving this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 03:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/unable-to-query-10-2-2/m-p/405012#M11561</guid>
      <dc:creator>SaurabhGupta5</dc:creator>
      <dc:date>2015-05-14T03:51:16Z</dc:date>
    </item>
  </channel>
</rss>

