<?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 How to compare datetime value (02JAN2007:00:00:00) in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-compare-datetime-value-02JAN2007-00-00-00/m-p/25489#M3790</link>
    <description>I m using a query&lt;BR /&gt;
proc sql;&lt;BR /&gt;
      select count(*) into :mCount from AMDEXSTG.EX_AR1_ACCOUNT where     CANDIDATE_FILE_EXTRACT_DATE =  02JAN2007:00:00:00;&lt;BR /&gt;
quit;&lt;BR /&gt;
   but it is throwing the syntax error.Please for this query</description>
    <pubDate>Thu, 30 Apr 2009 11:27:45 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-04-30T11:27:45Z</dc:date>
    <item>
      <title>How to compare datetime value (02JAN2007:00:00:00)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-compare-datetime-value-02JAN2007-00-00-00/m-p/25489#M3790</link>
      <description>I m using a query&lt;BR /&gt;
proc sql;&lt;BR /&gt;
      select count(*) into :mCount from AMDEXSTG.EX_AR1_ACCOUNT where     CANDIDATE_FILE_EXTRACT_DATE =  02JAN2007:00:00:00;&lt;BR /&gt;
quit;&lt;BR /&gt;
   but it is throwing the syntax error.Please for this query</description>
      <pubDate>Thu, 30 Apr 2009 11:27:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-compare-datetime-value-02JAN2007-00-00-00/m-p/25489#M3790</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-30T11:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare datetime value (02JAN2007:00:00:00)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-compare-datetime-value-02JAN2007-00-00-00/m-p/25490#M3791</link>
      <description>When using SAS Dates you would write '02JAN2007'd and when using datetime try '02jan07:0:00:00'&lt;B&gt;dt&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Whether this will work also depends on what database "AMDEXSTG" is, and how you connect to it (ODBC or SAS/Connect) - it not always that a SAS datetime is translated properly when transformed to another database.</description>
      <pubDate>Thu, 30 Apr 2009 12:57:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-compare-datetime-value-02JAN2007-00-00-00/m-p/25490#M3791</guid>
      <dc:creator>GertNissen</dc:creator>
      <dc:date>2009-04-30T12:57:46Z</dc:date>
    </item>
  </channel>
</rss>

