<?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 ODBC Connection to SSMS.  Schema Question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODBC-Connection-to-SSMS-Schema-Question/m-p/724861#M225078</link>
    <description>&lt;P&gt;I am connecting to SSMS via ODBC using the following code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mylib odbc noprompt = "driver = ODBC Driver 11 for SQL Server;
                             server = Server_Name;
                             database = Database_Name;
                             Trusted_Connection = yes"
                 schema = Schema1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If i'm only interested in the tables in schema1, schema2 and schema3,&lt;/P&gt;
&lt;P&gt;is it possible to get all 3 schemas into one library?&amp;nbsp; or am i limited to having an individual library for each schema?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 14:31:17 GMT</pubDate>
    <dc:creator>mcook</dc:creator>
    <dc:date>2021-03-09T14:31:17Z</dc:date>
    <item>
      <title>ODBC Connection to SSMS.  Schema Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-Connection-to-SSMS-Schema-Question/m-p/724861#M225078</link>
      <description>&lt;P&gt;I am connecting to SSMS via ODBC using the following code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mylib odbc noprompt = "driver = ODBC Driver 11 for SQL Server;
                             server = Server_Name;
                             database = Database_Name;
                             Trusted_Connection = yes"
                 schema = Schema1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If i'm only interested in the tables in schema1, schema2 and schema3,&lt;/P&gt;
&lt;P&gt;is it possible to get all 3 schemas into one library?&amp;nbsp; or am i limited to having an individual library for each schema?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 14:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-Connection-to-SSMS-Schema-Question/m-p/724861#M225078</guid>
      <dc:creator>mcook</dc:creator>
      <dc:date>2021-03-09T14:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection to SSMS.  Schema Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-Connection-to-SSMS-Schema-Question/m-p/725686#M225456</link>
      <description>&lt;P&gt;You can create&amp;nbsp; a compound library.&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;libname LIB1 odbc ... schema = Schema1;
libname LIB2 odbc ... schema = Schema2;
libname LIB3 odbc ... schema = Schema3;
libname LIB4 (LIB1 LIB2 LIB3);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 01:01:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-Connection-to-SSMS-Schema-Question/m-p/725686#M225456</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-03-12T01:01:36Z</dc:date>
    </item>
  </channel>
</rss>

