<?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: SAS/ACCESS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS/m-p/26256#M5987</link>
    <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
I think this is a case where you should use Proc SQL Passthrough facility. It doesn't make a lot of sense to me to first load everything from Oracle into SAS only to reload it directly into another Oracle table (without any transformation steps). &lt;BR /&gt;
&lt;BR /&gt;
You could for example develop your code using SQLDeveloper (free tool, can be downloaded from Oracle) or TOAD. Looks like this would be a simple SQL INSERT or eventually a UPSERT.&lt;BR /&gt;
&lt;BR /&gt;
Once you've got working Oracle SQL you just paste it into a PROC SQL passthrough block.&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick

Message was edited by: Patrick</description>
    <pubDate>Tue, 02 Nov 2010 11:40:59 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2010-11-02T11:40:59Z</dc:date>
    <item>
      <title>SAS/ACCESS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS/m-p/26255#M5986</link>
      <description>Hi, &lt;BR /&gt;
&lt;BR /&gt;
I have a requirement to copy some oracle data from one table to another using SAS.&lt;BR /&gt;
&lt;BR /&gt;
I am using the following libname statement to retrieve the oracle tables present in the schema-uuu&lt;BR /&gt;
&lt;BR /&gt;
Libname xxx ORACLE USER=yyy PASSWORD=vvv SCHEMA=uuu PATH=www;&lt;BR /&gt;
&lt;BR /&gt;
One of my Oracle table has a field with data type as float. But when they are transformed to a SAS dataset, this field is transformed to  a numeric variable with format best12. . As a result the value .00000081147986 in oracle table becomes 8.1147986E-6 in the sas dataset.&lt;BR /&gt;
&lt;BR /&gt;
Is there a way by which I can specify the format of a numeric value in the libname statement to make it best22. similar to DBMAX_TEXT option.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance!</description>
      <pubDate>Tue, 02 Nov 2010 04:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS/m-p/26255#M5986</guid>
      <dc:creator>DCL</dc:creator>
      <dc:date>2010-11-02T04:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACCESS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS/m-p/26256#M5987</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
I think this is a case where you should use Proc SQL Passthrough facility. It doesn't make a lot of sense to me to first load everything from Oracle into SAS only to reload it directly into another Oracle table (without any transformation steps). &lt;BR /&gt;
&lt;BR /&gt;
You could for example develop your code using SQLDeveloper (free tool, can be downloaded from Oracle) or TOAD. Looks like this would be a simple SQL INSERT or eventually a UPSERT.&lt;BR /&gt;
&lt;BR /&gt;
Once you've got working Oracle SQL you just paste it into a PROC SQL passthrough block.&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick

Message was edited by: Patrick</description>
      <pubDate>Tue, 02 Nov 2010 11:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-ACCESS/m-p/26256#M5987</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-11-02T11:40:59Z</dc:date>
    </item>
  </channel>
</rss>

