<?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: Multiple Schemas for Single SAS Library? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/1289#M375</link>
    <description>Thanks.  I'm going to try this out when I get back to the office.</description>
    <pubDate>Tue, 22 Aug 2006 07:21:13 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-08-22T07:21:13Z</dc:date>
    <item>
      <title>Multiple Schemas for Single SAS Library?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/1287#M373</link>
      <description>I've created a SAS library that uses SAS/ACCESS to connect to an Oracle database.  I've been successfull in referencing the library to a single schema, however, I can't get it work with multiple schemas.&lt;BR /&gt;
&lt;BR /&gt;
Can someone help?</description>
      <pubDate>Fri, 18 Aug 2006 23:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/1287#M373</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-18T23:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Schemas for Single SAS Library?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/1288#M374</link>
      <description>I can only point you toward the SCHEMA= option on the libname statement:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/unotes/SN/002/002733.html" target="_blank"&gt;http://support.sas.com/techsup/unotes/SN/002/002733.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/faq/038/FAQ03822.html" target="_blank"&gt;http://support.sas.com/faq/038/FAQ03822.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
A search of SAS Notes for "oracle schema" will yield many other possible hints.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/search/sasnotes.html" target="_blank"&gt;http://support.sas.com/techsup/search/sasnotes.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Mon, 21 Aug 2006 19:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/1288#M374</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2006-08-21T19:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Schemas for Single SAS Library?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/1289#M375</link>
      <description>Thanks.  I'm going to try this out when I get back to the office.</description>
      <pubDate>Tue, 22 Aug 2006 07:21:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/1289#M375</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-22T07:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Schemas for Single SAS Library?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/853474#M41996</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;The links are not available anymore (it is an old queistion). Could you provide more detailed?&lt;/P&gt;&lt;P&gt;In particular I am interested in solving the following problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to create a SAS library per schema in SQL Server with LIBNAME ODBC...Statements like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME SchemaA&lt;/P&gt;&lt;P&gt;ODBC&amp;nbsp;&lt;/P&gt;&lt;P&gt;schema="SchemaA"&lt;/P&gt;&lt;P&gt;noprompt="xxx";&lt;/P&gt;&lt;P&gt;LIBNAME SchemaB&lt;/P&gt;&lt;P&gt;ODBC&amp;nbsp;&lt;/P&gt;&lt;P&gt;shema="SchemaB"&lt;/P&gt;&lt;P&gt;noprompt="xxx";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My idea is then to concatinate the created libriries in a SAS library named "database" as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname database (SchemaA SchemaB);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I have there a problem: Tables with the same names (but different contents) exist in both schemas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I solve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC DATASET CHANGE is not an option, as I am not allowed to change table names on the SQL server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 15:23:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/853474#M41996</guid>
      <dc:creator>niki_02468</dc:creator>
      <dc:date>2023-01-12T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Schemas for Single SAS Library?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/853503#M41997</link>
      <description>&lt;P&gt;As the SAS system will always use the first appearance of a name in a concatenated library, this won't work. You need to concatenate the tables(datasets) from the separate libraries whenever you use them.&lt;/P&gt;
&lt;P&gt;You could write a program that searches for such tables and automatically creates views that do the concatenation.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 17:01:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/853503#M41997</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-12T17:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Schemas for Single SAS Library?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/853563#M41998</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437501"&gt;@niki_02468&lt;/a&gt;&amp;nbsp;- It is common practice and certainly simpler to define separate SAS libraries for each external database schema.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 19:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-Schemas-for-Single-SAS-Library/m-p/853563#M41998</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-01-12T19:51:41Z</dc:date>
    </item>
  </channel>
</rss>

