<?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 why the numeric value is different between Teradata and SAS? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456497#M14099</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a column value in Teradata which is -999999999992240155, while the corresponding value in SAS is -999999999992240128.&lt;/P&gt;&lt;P&gt;Any insights why the values are different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BTW, the data type in Teradata is decimal(18,0), the data type in SAS is numeric and format=19.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jade&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 13:06:11 GMT</pubDate>
    <dc:creator>Jade_SAS</dc:creator>
    <dc:date>2018-04-23T13:06:11Z</dc:date>
    <item>
      <title>why the numeric value is different between Teradata and SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456497#M14099</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a column value in Teradata which is -999999999992240155, while the corresponding value in SAS is -999999999992240128.&lt;/P&gt;&lt;P&gt;Any insights why the values are different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BTW, the data type in Teradata is decimal(18,0), the data type in SAS is numeric and format=19.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jade&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 13:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456497#M14099</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2018-04-23T13:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: why the numeric value is different between Teradata and SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456505#M14100</link>
      <description>&lt;P&gt;&lt;STRONG&gt;All&lt;/STRONG&gt; numbers in SAS dataset are stored in 8 bytes, real format (mantissa + exponent). Or less, if the length is reduced with a length statement.&lt;/P&gt;
&lt;P&gt;That means that SAS can reliably store around 15 decimal digits. Any further digits will be lost or changed.&lt;/P&gt;
&lt;P&gt;For further information, google for "sas numerical precision".&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 13:15:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456505#M14100</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-23T13:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: why the numeric value is different between Teradata and SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456527#M14102</link>
      <description>&lt;P&gt;Thank you so much KurtBremser! So the value -999999999992240155 is out of the valid range of SAS, right?&lt;/P&gt;&lt;P&gt;Is there any work around to deal with this situation? Or there is nothing we can do with it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jade&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 13:49:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456527#M14102</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2018-04-23T13:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: why the numeric value is different between Teradata and SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456528#M14103</link>
      <description>&lt;P&gt;Usually, when one encounters numbers with that many digits, they are not actual numbers, but some kind of code, in which case they should be kept in strings (character).&lt;/P&gt;
&lt;P&gt;Keep in mind that the 15 digits of SAS can store the GNP of the US down to dimes, so that's sufficient for statistics.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 13:52:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456528#M14103</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-23T13:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: why the numeric value is different between Teradata and SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456551#M14105</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 15:01:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-the-numeric-value-is-different-between-Teradata-and-SAS/m-p/456551#M14105</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2018-04-23T15:01:04Z</dc:date>
    </item>
  </channel>
</rss>

