<?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: SYSDATE &amp;amp; TODAY() both not able to fetch today's date in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670074#M201105</link>
    <description>&lt;P&gt;&lt;EM&gt;sysdate&lt;/EM&gt; is an oracle keyword,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date() returns a date. Oracle usually stores date times.&lt;/P&gt;
&lt;P&gt;Dates count days. Datetimes count seconds. Search the topic if you are unaware.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jul 2020 06:26:30 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-07-17T06:26:30Z</dc:date>
    <item>
      <title>SYSDATE &amp; TODAY() both not able to fetch today's date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670064#M201098</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to insert today's date into oracle table from SAS but getting error. How can we do this?&lt;/P&gt;&lt;P&gt;I am doing below:-&lt;/P&gt;&lt;P&gt;a.&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL ;&lt;BR /&gt;insert into ORA.test&lt;BR /&gt;Select&lt;BR /&gt;SYSDATE,&amp;nbsp; OO.* from WORK.OUTPUT OO ;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;Below is error i am getting:-&lt;/P&gt;&lt;P&gt;ERROR: The following columns were not found in the contributing tables: SYSDATE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b.PROC SQL ;&lt;BR /&gt;insert into ORA.test&lt;BR /&gt;Select&lt;BR /&gt;today(),&amp;nbsp; OO.* from WORK.OUTPUT OO ;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;Below 2 things happen:-&lt;/P&gt;&lt;P&gt;1. Sometimes it shows error saying:- invalid character ( because of brackets in today() )&lt;/P&gt;&lt;P&gt;2.And sometimes it enter "01/JAN/60" date into the oracle table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;RDS&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 06:00:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670064#M201098</guid>
      <dc:creator>RDS2020</dc:creator>
      <dc:date>2020-07-17T06:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: SYSDATE &amp; TODAY() both not able to fetch today's date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670069#M201102</link>
      <description>&lt;P&gt;Please try:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;insert into ORA.TEST&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;select&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;datetime(), * from WORK.OUTPUT ;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 06:15:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670069#M201102</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-07-17T06:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: SYSDATE &amp; TODAY() both not able to fetch today's date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670070#M201103</link>
      <description>Hi Chris,&lt;BR /&gt;Thanks for reverting quickly. What is the reason behind sysdate and today() to not work and datetime() to work.&lt;BR /&gt;Regards,&lt;BR /&gt;RDS</description>
      <pubDate>Fri, 17 Jul 2020 06:17:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670070#M201103</guid>
      <dc:creator>RDS2020</dc:creator>
      <dc:date>2020-07-17T06:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: SYSDATE &amp; TODAY() both not able to fetch today's date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670074#M201105</link>
      <description>&lt;P&gt;&lt;EM&gt;sysdate&lt;/EM&gt; is an oracle keyword,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date() returns a date. Oracle usually stores date times.&lt;/P&gt;
&lt;P&gt;Dates count days. Datetimes count seconds. Search the topic if you are unaware.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 06:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDATE-amp-TODAY-both-not-able-to-fetch-today-s-date/m-p/670074#M201105</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-07-17T06:26:30Z</dc:date>
    </item>
  </channel>
</rss>

