<?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: connect to odbc with tables nested within server subdirectory in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/connect-to-odbc-with-tables-nested-within-server-subdirectory/m-p/775732#M23281</link>
    <description>&lt;P&gt;You are on the right track. It looks like you have successfully created an Oracle database connection but are missing the SCHEMA option on the LIBNAME. The hierarchy for a database server is as follows: Server, Database, Schema, Table. I'm assuming your ODBC DSN includes the server and database. Oracle SQL Developer should give you details of the required schema which may be displayed as a prefix on table names.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2021 19:09:02 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2021-10-21T19:09:02Z</dc:date>
    <item>
      <title>connect to odbc with tables nested within server subdirectory</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/connect-to-odbc-with-tables-nested-within-server-subdirectory/m-p/775681#M23276</link>
      <description>&lt;P&gt;I'm sorry this is possibly a silly question, but I've always had IT people to set this up for me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to connect SAS to an ODBC server.&amp;nbsp; I have both a user DSN and system DSN working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can access the tables in Oracle SQL Developer.&amp;nbsp; However, and I don't know if this is relevant, but in the navigating pane to the left, where there is a sort of 'drop down file structure', the tables are located:&amp;nbsp; server_name/other_users/libraries/table(s).&amp;nbsp; As far as SAS code to access those tables, this is as far as I've gotten:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname my_library odbc user=username password="password" datasrc=server_name; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This creates a library, but with no tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know what other commands or info I am missing, but recognize many people used a schema and I do not know what that is.&amp;nbsp; Can anyone please help?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 15:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/connect-to-odbc-with-tables-nested-within-server-subdirectory/m-p/775681#M23276</guid>
      <dc:creator>tellmeaboutityo</dc:creator>
      <dc:date>2021-10-21T15:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: connect to odbc with tables nested within server subdirectory</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/connect-to-odbc-with-tables-nested-within-server-subdirectory/m-p/775732#M23281</link>
      <description>&lt;P&gt;You are on the right track. It looks like you have successfully created an Oracle database connection but are missing the SCHEMA option on the LIBNAME. The hierarchy for a database server is as follows: Server, Database, Schema, Table. I'm assuming your ODBC DSN includes the server and database. Oracle SQL Developer should give you details of the required schema which may be displayed as a prefix on table names.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 19:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/connect-to-odbc-with-tables-nested-within-server-subdirectory/m-p/775732#M23281</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-10-21T19:09:02Z</dc:date>
    </item>
  </channel>
</rss>

