<?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 SQL expression for MIN (timestamp) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sql-expression-for-min-timestamp/m-p/102127#M5986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working in ArcMap, in the Select by Attributes dialog on a PostgreSQL Enterprise GDB feature class.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a SQL expression for MIN (timestamp) to &lt;STRONG&gt;get most recent feature&lt;/STRONG&gt; created.&amp;nbsp; MAX() seems to work fine, but MIN() is not working.&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="sql" name="code"&gt;"created_date" = (SELECT MIN("created_date") FROM sde.sde.AlertSite)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On verify: The expression was verified successfully, but no records were returned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 21:35:09 GMT</pubDate>
    <dc:creator>DavidTreering</dc:creator>
    <dc:date>2015-03-04T21:35:09Z</dc:date>
    <item>
      <title>SQL expression for MIN (timestamp)</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-expression-for-min-timestamp/m-p/102127#M5986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working in ArcMap, in the Select by Attributes dialog on a PostgreSQL Enterprise GDB feature class.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a SQL expression for MIN (timestamp) to &lt;STRONG&gt;get most recent feature&lt;/STRONG&gt; created.&amp;nbsp; MAX() seems to work fine, but MIN() is not working.&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="sql" name="code"&gt;"created_date" = (SELECT MIN("created_date") FROM sde.sde.AlertSite)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On verify: The expression was verified successfully, but no records were returned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 21:35:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-expression-for-min-timestamp/m-p/102127#M5986</guid>
      <dc:creator>DavidTreering</dc:creator>
      <dc:date>2015-03-04T21:35:09Z</dc:date>
    </item>
  </channel>
</rss>

