<?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: Oracle Number(20,4) getting round off while loading in Teradata using SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541331#M149447</link>
    <description>There is little hope that those 00 after .99 would be stored, unless you store it all as string</description>
    <pubDate>Fri, 08 Mar 2019 09:05:58 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2019-03-08T09:05:58Z</dc:date>
    <item>
      <title>Oracle Number(20,4) getting round off while loading in Teradata using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541327#M149446</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am loading data from Oracle to Teradata using SAS pass-through&lt;BR /&gt;Code example:&lt;BR /&gt;CONNECT TO ORACLE ()&lt;BR /&gt;INSERT INTO TDLIB.tblnm(fastload=yes)&lt;BR /&gt;Select * from connection to oracle(&lt;BR /&gt;Select * from oradb.ora_tblnm&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;In Oracle data is like : 99999999999999.99 (datatyep-Number(20,4)&lt;BR /&gt;But after loading in Teradata it gets round of to : 100000000000000.00&lt;BR /&gt;&lt;BR /&gt;Tried with&lt;BR /&gt;DATA SET OPTION- DBTYPE&lt;BR /&gt;But though getting it like :99999999999999.9872 with decimal (20,4) And 99999999999999.98 with decimal (20,2)&lt;BR /&gt;&lt;BR /&gt;I want it to be loaded as 99999999999999.9900 in Teradata&lt;BR /&gt;&lt;BR /&gt;Need a solution for this.&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 08 Mar 2019 08:42:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541327#M149446</guid>
      <dc:creator>microeyes</dc:creator>
      <dc:date>2019-03-08T08:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Number(20,4) getting round off while loading in Teradata using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541331#M149447</link>
      <description>There is little hope that those 00 after .99 would be stored, unless you store it all as string</description>
      <pubDate>Fri, 08 Mar 2019 09:05:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541331#M149447</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2019-03-08T09:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Number(20,4) getting round off while loading in Teradata using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541332#M149448</link>
      <description>&lt;P&gt;As soon as you move data&amp;nbsp;&lt;EM&gt;through&lt;/EM&gt; SAS, you are subject to its limits, which means a maximum precision of 15 decimal digits because of the 8 byte real format that SAS uses for numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you find a way to transfer the data more directly. Unload to a text file with proper formatting, and load from that, without using SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 09:09:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541332#M149448</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-08T09:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Number(20,4) getting round off while loading in Teradata using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541333#M149449</link>
      <description>&lt;P&gt;Just guessing, but since sas numbers have at max 15 significant digits, some information is lost during transfer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#numvar.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#numvar.htm&lt;/A&gt; for details about how numbers are stored.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 09:09:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-Number-20-4-getting-round-off-while-loading-in-Teradata/m-p/541333#M149449</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-03-08T09:09:57Z</dc:date>
    </item>
  </channel>
</rss>

