<?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: Loading SAS data into Oracle in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374101#M11340</link>
    <description>&lt;P&gt;I don't believe Oracle will retain the ordering of a table when loading or storing data, unless maybe you use an &lt;A href="http://www.orafaq.com/wiki/Index-organized_table" target="_self"&gt;Index-Organized table.&lt;/A&gt;&amp;nbsp; Even with an IOT (which I actually don't know a whole lot about) I think the index is generally used for faster access than actually storing the data in order on disk. &amp;nbsp;Normally you'd just sort the data to whatever order you want when you're accessing it.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2017 20:43:55 GMT</pubDate>
    <dc:creator>Sven111</dc:creator>
    <dc:date>2017-07-07T20:43:55Z</dc:date>
    <item>
      <title>Loading SAS data into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374039#M11337</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have a SAS table of 10,000 records with 7 columns to be loaded into Oracle. One of my variable is "Row_Num" values as 1-10,000 is sorted and loaded into Oracle. When I loaded this table into Oracle it is not as same sort order as SAS Table. Is there a way I can send the data to Oracle in the same way how it was there in SAS table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used PROC APPEND with DBCOMMIT=0 to load SAS data to an empty Oracle table. I belive It is doing a parallel batch insert randomly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I tried to use bulkload=yes, I get the following error:&lt;/P&gt;&lt;P&gt;ERROR: BCP=/BULKLOAD= option not supported by this datasource.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;Connected to Oracle using ODBC, SAS 9.4 M2( Linux), SAS EG 7.12 running through CITRIX (Windows server 2012)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suryakiran&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 17:27:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374039#M11337</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2017-07-07T17:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Loading SAS data into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374080#M11338</link>
      <description>Perhaps this more of an Oracle question rather than a SAS one.&lt;BR /&gt;I think that RDBMS usually doesn preserve row order in the physical storage. That shouldn't be a problem in your case since you already have a row_num column which could do ORDER BY on (or be sorted implicit on by using BY from any SAS step).</description>
      <pubDate>Fri, 07 Jul 2017 19:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374080#M11338</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-07-07T19:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loading SAS data into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374101#M11340</link>
      <description>&lt;P&gt;I don't believe Oracle will retain the ordering of a table when loading or storing data, unless maybe you use an &lt;A href="http://www.orafaq.com/wiki/Index-organized_table" target="_self"&gt;Index-Organized table.&lt;/A&gt;&amp;nbsp; Even with an IOT (which I actually don't know a whole lot about) I think the index is generally used for faster access than actually storing the data in order on disk. &amp;nbsp;Normally you'd just sort the data to whatever order you want when you're accessing it.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 20:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374101#M11340</guid>
      <dc:creator>Sven111</dc:creator>
      <dc:date>2017-07-07T20:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loading SAS data into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374167#M11345</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83078"&gt;@SuryaKiran&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Oracle doesn't work this way and you always need an Order By to control the order of queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What triggered your question? Why is&amp;nbsp;the sort order important to you?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 09:05:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374167#M11345</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-07-08T09:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loading SAS data into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374169#M11346</link>
      <description>&lt;P&gt;It's a base concept of relational databases that you can't assume the records will be in any sequence. As stated, you need to use an "ordered by" clause to retrieve them in a sequence. Even if they were loaded in a sequence, again it's a base concept that in the absence of an "ordered by" clause, you can't expect the records to be returned in any particular sequence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 12:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Loading-SAS-data-into-Oracle/m-p/374169#M11346</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-07-08T12:35:43Z</dc:date>
    </item>
  </channel>
</rss>

