<?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: Problem while loading sas date into oracle in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41571#M8516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you try writing out to the flat file for loading into Oracle, dates in the form dd-mon-yyyy (01-Jan-2013). This, I believe, is one of the date formats that Oracle should handle automatically, assuming it is being loaded into a date column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2013 20:15:35 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2013-07-03T20:15:35Z</dc:date>
    <item>
      <title>Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41567#M8512</link>
      <description>Hi, &lt;BR /&gt;
&lt;BR /&gt;
I have a dataset which has one column which has a format ddmmyy .&lt;BR /&gt;
when I am trying to copy to oracle it is creating a problem.&lt;BR /&gt;
&lt;BR /&gt;
Please let me know to which format I should change this field so that oracle support.&lt;BR /&gt;
&lt;BR /&gt;
Please if with any example would be great.&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Thu, 31 Mar 2011 09:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41567#M8512</guid>
      <dc:creator>SASACC</dc:creator>
      <dc:date>2011-03-31T09:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41568#M8513</link>
      <description>In our installation, oracle dates show up as sas datetimes.  We have to use the dhms function to create a true datetime prior to loading to oracle or the results is strange.&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
insert into oracle.table(dtvar)&lt;BR /&gt;
select dhms(datevar,0,0,0) from sas.table;&lt;BR /&gt;
quit;</description>
      <pubDate>Thu, 31 Mar 2011 11:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41568#M8513</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2011-03-31T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41569#M8514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More than two years later, this fixed my problem.. no matter what I was doing the date was coming out 1/1/1960.&amp;nbsp; SAS 9.1.3 (yes, still) and Oracle 11g.&amp;nbsp; Thanks for posting!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 22:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41569#M8514</guid>
      <dc:creator>bentleyj1</dc:creator>
      <dc:date>2013-06-11T22:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41570#M8515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bentleyj1,&lt;/P&gt;&lt;P&gt;still i am facing that issue.While loading from flat file to oracle database,i am getting the date column as 01-Jan-1960.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to overcome tis issue.?I am using&amp;nbsp; SAS DI 4.21&lt;BR /&gt;Pls help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 07:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41570#M8515</guid>
      <dc:creator>Helannivas</dc:creator>
      <dc:date>2013-07-03T07:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41571#M8516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you try writing out to the flat file for loading into Oracle, dates in the form dd-mon-yyyy (01-Jan-2013). This, I believe, is one of the date formats that Oracle should handle automatically, assuming it is being loaded into a date column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 20:15:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41571#M8516</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-07-03T20:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41572#M8517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using the OLEDB or Oracle client to connect to Oracle?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I worked for a company that refused to purchase the Oracle client and we were forced to use OLEDB instead.&amp;nbsp; It did some really strange things with dates that took quite a bit of work and research to get around.&amp;nbsp; It might be worth investigating this further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 04:20:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41572#M8517</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2013-07-08T04:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41573#M8518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Oracle client.....Is ther any way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 05:11:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41573#M8518</guid>
      <dc:creator>Helannivas</dc:creator>
      <dc:date>2013-07-08T05:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41574#M8519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide a sample of the code you are using and the log output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 05:28:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41574#M8519</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2013-07-08T05:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41575#M8520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How have you defined the data in the flat file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 13:07:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41575#M8520</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-07-08T13:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41576#M8521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not using DI studio so cannot comment on your particular issue other than to say perhaps you need to use a code window.&amp;nbsp; The code provided by DBaily on March 31st, 2011 solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 18:30:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41576#M8521</guid>
      <dc:creator>bentleyj1</dc:creator>
      <dc:date>2013-07-08T18:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41577#M8522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it possible to alter the default in SAS/ACCESS, like date &amp;lt;--&amp;gt; datetime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 19:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41577#M8522</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-07-08T19:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41578#M8523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bailey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hv defined the column as character datatype(not numeric).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 05:09:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41578#M8523</guid>
      <dc:creator>Helannivas</dc:creator>
      <dc:date>2013-07-09T05:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while loading sas date into oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41579#M8524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dhms(date_column,0,0,0) is working fine......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all of you for ur support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks DBaily for the exp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 07:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-while-loading-sas-date-into-oracle/m-p/41579#M8524</guid>
      <dc:creator>Helannivas</dc:creator>
      <dc:date>2013-07-09T07:41:46Z</dc:date>
    </item>
  </channel>
</rss>

