<?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: Moving SAS tables to Oracle DB in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390179#M25224</link>
    <description>&lt;P&gt;This is the most helpful reference I can find to a format I admit I'd never heard of before&amp;nbsp;&lt;A href="http://support.sas.com/kb/35/058.html" target="_blank"&gt;http://support.sas.com/kb/35/058.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2017 11:10:05 GMT</pubDate>
    <dc:creator>ChrisBrooks</dc:creator>
    <dc:date>2017-08-23T11:10:05Z</dc:date>
    <item>
      <title>Moving SAS tables to Oracle DB</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390173#M25223</link>
      <description>&lt;P&gt;Hi I have a SAS dataset in a temp work library and I want to move this table to Oracle DB.&lt;/P&gt;
&lt;P&gt;Here's the code I run and I got below error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;/P&gt;
&lt;P&gt;create table oracle.new_data as&lt;/P&gt;
&lt;P&gt;select * from&amp;nbsp;work.orig_data;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error attempting to CREATE a DBMS table. ERROR: ORACLE execute error: ORA-01727: numeric precision specifier is out of range (1 to 38)..&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;After some test runs, I identified that fields with below formats seems to be the issue for above error msg, but I can't figure out how to resolve this problem. Does anyone know how to possibly reformat (?) or do something to move this data in temp work library to Oracle DB?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="216"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="72"&gt;
&lt;P&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="72"&gt;
&lt;P&gt;&lt;STRONG&gt;Len&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="72"&gt;
&lt;P&gt;&lt;STRONG&gt;Format&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="72"&gt;
&lt;P&gt;Num&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="72"&gt;
&lt;P&gt;8&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="72"&gt;
&lt;P&gt;F40.2&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;Thanks!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 10:47:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390173#M25223</guid>
      <dc:creator>hatsumi</dc:creator>
      <dc:date>2017-08-23T10:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Moving SAS tables to Oracle DB</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390179#M25224</link>
      <description>&lt;P&gt;This is the most helpful reference I can find to a format I admit I'd never heard of before&amp;nbsp;&lt;A href="http://support.sas.com/kb/35/058.html" target="_blank"&gt;http://support.sas.com/kb/35/058.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 11:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390179#M25224</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-08-23T11:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Moving SAS tables to Oracle DB</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390181#M25225</link>
      <description>&lt;P&gt;Never heard of that format. &amp;nbsp;Is the data actually length 40? &amp;nbsp;If it is shorter then simply re-applying the format with a shorter length should fix it, however if it is that length then you would lose display of some of the data, and you would still get the message.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=work;
  modify have format thevar f30.2;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Aug 2017 11:17:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390181#M25225</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-08-23T11:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Moving SAS tables to Oracle DB</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390185#M25227</link>
      <description>&lt;P&gt;Thank you RW9! This worked for me!!&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://communities.sas.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 11:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-SAS-tables-to-Oracle-DB/m-p/390185#M25227</guid>
      <dc:creator>hatsumi</dc:creator>
      <dc:date>2017-08-23T11:45:21Z</dc:date>
    </item>
  </channel>
</rss>

