<?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 Date queries for layers coming from various data formats in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/date-queries-for-layers-coming-from-various-data/m-p/281353#M25982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to build date queries JS on data coming from a variety of sources (could be SDE - SQL, DB2, Oracle, FGDB, etc).&amp;nbsp; Depending on the data source, the date query differns.&amp;nbsp; For example, querying SQL ends up being DateColumn = '2010-09-13' where FGDB is DateColumn = date '2010-09-13'.&amp;nbsp; My problem though is that I don't know the type of data source ahead of time.&amp;nbsp; My current workaround is to use ArcObjects to figure out what the data is coming from.&amp;nbsp; The workaround works fine for now, but I a) want to get away from using ArcObjects if possible and more importantly b) it doesn't work if the map is coming from an external ArcGIS Server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have suggestions as to how I could find out the type of the data source or the format of the date query without using ArcObjects?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Sep 2010 14:41:30 GMT</pubDate>
    <dc:creator>SasaI_</dc:creator>
    <dc:date>2010-09-13T14:41:30Z</dc:date>
    <item>
      <title>Date queries for layers coming from various data formats</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/date-queries-for-layers-coming-from-various-data/m-p/281353#M25982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to build date queries JS on data coming from a variety of sources (could be SDE - SQL, DB2, Oracle, FGDB, etc).&amp;nbsp; Depending on the data source, the date query differns.&amp;nbsp; For example, querying SQL ends up being DateColumn = '2010-09-13' where FGDB is DateColumn = date '2010-09-13'.&amp;nbsp; My problem though is that I don't know the type of data source ahead of time.&amp;nbsp; My current workaround is to use ArcObjects to figure out what the data is coming from.&amp;nbsp; The workaround works fine for now, but I a) want to get away from using ArcObjects if possible and more importantly b) it doesn't work if the map is coming from an external ArcGIS Server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have suggestions as to how I could find out the type of the data source or the format of the date query without using ArcObjects?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 14:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/date-queries-for-layers-coming-from-various-data/m-p/281353#M25982</guid>
      <dc:creator>SasaI_</dc:creator>
      <dc:date>2010-09-13T14:41:30Z</dc:date>
    </item>
  </channel>
</rss>

