<?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: ORA-01438 value larger than specified precision allowed for this column in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ORA-01438-value-larger-than-specified-precision-allowed-for-this/m-p/380630#M91411</link>
    <description>&lt;P&gt;... I identified the wrong field as the problem. Another field was defined too small.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2017 14:26:43 GMT</pubDate>
    <dc:creator>Kaladhan</dc:creator>
    <dc:date>2017-07-27T14:26:43Z</dc:date>
    <item>
      <title>ORA-01438 value larger than specified precision allowed for this column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ORA-01438-value-larger-than-specified-precision-allowed-for-this/m-p/380151#M91406</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to append into Oracle a record that contains a numeric value from SAS.&lt;/P&gt;
&lt;P&gt;The value in SAS is defined as NUMERIC(8) with a format/informat of 19.2. It's an amount field, so it contains value like 120.14.&lt;/P&gt;
&lt;P&gt;In Oracle, the field is defined as NUMBER(19, 2). When I view the table in SAS, it says it's NUMERIC(8) with a format/informat of 21.2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try the append, I have the following error:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: ERROR: ERROR: ERROR: ORACLE execute error: ORA-01438: value larger than specified precision allowed for this column. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt; With the occurrence of the above ERROR, the error limit of 1 set by the ERRLIMIT= option has been reached. ROLLBACK has been &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt; issued(Any Rows processed after the last COMMIT are lost). Total rows processed: 1 Rows failed : 1 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt; ROLLBACK has been issued(Any Rows processed after the last COMMIT are lost).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand the error. It means I'm trying to pass a SAS value that is bigger than what Oracle would allow. I don't know how exactly to correct this in this case. Should I alter the Oracle table to allow bigger values? Should I change the SAS format?&lt;/P&gt;
&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 13:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ORA-01438-value-larger-than-specified-precision-allowed-for-this/m-p/380151#M91406</guid>
      <dc:creator>Kaladhan</dc:creator>
      <dc:date>2017-07-27T13:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-01438 value larger than specified precision allowed for this column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ORA-01438-value-larger-than-specified-precision-allowed-for-this/m-p/380384#M91409</link>
      <description>&lt;P&gt;SAS stores numbers as 64 bit floating point numbers. There are not enough bits to store 19 decimal digits. But since it it floating point you can easily store a number that is larger than 10**19.&lt;/P&gt;
&lt;P&gt;Find the maximum value in the data you are trying to store and see if that is the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess another possibility is that you are trying to store too many decimal digits? &amp;nbsp;Perhaps your value is somthing like 12.125 and Oracle is complainging that has no place to store the 5? &amp;nbsp;If that is the problem then you could try rounding the value to 2 decimal places. &amp;nbsp;Formats just impact how it is display, the ROUND() function will change the actual value.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 14:04:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ORA-01438-value-larger-than-specified-precision-allowed-for-this/m-p/380384#M91409</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-07-27T14:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-01438 value larger than specified precision allowed for this column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ORA-01438-value-larger-than-specified-precision-allowed-for-this/m-p/380630#M91411</link>
      <description>&lt;P&gt;... I identified the wrong field as the problem. Another field was defined too small.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 14:26:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ORA-01438-value-larger-than-specified-precision-allowed-for-this/m-p/380630#M91411</guid>
      <dc:creator>Kaladhan</dc:creator>
      <dc:date>2017-07-27T14:26:43Z</dc:date>
    </item>
  </channel>
</rss>

