<?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 best practice for daily query fetch date in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/best-practice-for-daily-query-fetch-date/m-p/363164#M274868</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm setting up daily automated reporting. Each morning, the job is set to query our tables for date: two days minus today (there is a two-day lag with the table refresh). &amp;nbsp;An approach is to write: where table_date=today()-2;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a better way (or if the above should be avoided), pls let me know. Currenly engine we use is Netezza, or Hadoop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2017 17:29:12 GMT</pubDate>
    <dc:creator>brulard</dc:creator>
    <dc:date>2017-05-31T17:29:12Z</dc:date>
    <item>
      <title>best practice for daily query fetch date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/best-practice-for-daily-query-fetch-date/m-p/363164#M274868</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm setting up daily automated reporting. Each morning, the job is set to query our tables for date: two days minus today (there is a two-day lag with the table refresh). &amp;nbsp;An approach is to write: where table_date=today()-2;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a better way (or if the above should be avoided), pls let me know. Currenly engine we use is Netezza, or Hadoop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 17:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/best-practice-for-daily-query-fetch-date/m-p/363164#M274868</guid>
      <dc:creator>brulard</dc:creator>
      <dc:date>2017-05-31T17:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: best practice for daily query fetch date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/best-practice-for-daily-query-fetch-date/m-p/363184#M274869</link>
      <description>&lt;P&gt;I might be better if done in netezza as where table_date=current_date-2 and create a work sas table and then run the report on it&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 18:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/best-practice-for-daily-query-fetch-date/m-p/363184#M274869</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-05-31T18:45:04Z</dc:date>
    </item>
  </channel>
</rss>

