<?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 DataFlux Connecting to Multiple Databases Through One ODBC Connection in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Connecting-to-Multiple-Databases-Through-One-ODBC/m-p/251758#M6769</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to know if we can connect to multiple databases using one odbc connection in the DataFlux tool.&lt;/P&gt;
&lt;P&gt;This question was posed to me from an analyst who wants to query a parallel datawarehouse that uses tables from 2 different databases that are on the same server.&amp;nbsp;&amp;nbsp;&amp;nbsp;In his query, he would&amp;nbsp;ndicate the database, schema, and tables in his 'From" statement...I believe he can do this easily in SAS but not sure if its the same in DataFlux.&amp;nbsp;&amp;nbsp; Most times, we ask our analysts to indicate the database when setting up the ODBC connection in DataFlux...that is why I am asking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any help.&lt;/P&gt;
&lt;P&gt;Brett&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select a.*&lt;/P&gt;
&lt;P&gt;from database1.schema1.table1 a inner join&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;database2.schema2.table2 b&lt;/P&gt;
&lt;P&gt;on a.field1 = b.field1&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2016 12:36:54 GMT</pubDate>
    <dc:creator>BrettRankin</dc:creator>
    <dc:date>2016-02-23T12:36:54Z</dc:date>
    <item>
      <title>DataFlux Connecting to Multiple Databases Through One ODBC Connection</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Connecting-to-Multiple-Databases-Through-One-ODBC/m-p/251758#M6769</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to know if we can connect to multiple databases using one odbc connection in the DataFlux tool.&lt;/P&gt;
&lt;P&gt;This question was posed to me from an analyst who wants to query a parallel datawarehouse that uses tables from 2 different databases that are on the same server.&amp;nbsp;&amp;nbsp;&amp;nbsp;In his query, he would&amp;nbsp;ndicate the database, schema, and tables in his 'From" statement...I believe he can do this easily in SAS but not sure if its the same in DataFlux.&amp;nbsp;&amp;nbsp; Most times, we ask our analysts to indicate the database when setting up the ODBC connection in DataFlux...that is why I am asking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any help.&lt;/P&gt;
&lt;P&gt;Brett&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select a.*&lt;/P&gt;
&lt;P&gt;from database1.schema1.table1 a inner join&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;database2.schema2.table2 b&lt;/P&gt;
&lt;P&gt;on a.field1 = b.field1&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 12:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Connecting-to-Multiple-Databases-Through-One-ODBC/m-p/251758#M6769</guid>
      <dc:creator>BrettRankin</dc:creator>
      <dc:date>2016-02-23T12:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Connecting to Multiple Databases Through One ODBC Connection</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Connecting-to-Multiple-Databases-Through-One-ODBC/m-p/251829#M6781</link>
      <description>&lt;P&gt;I don't have a working Dataflux environment to check this out but one option you could consider is creating a table view in SAS based on a single ODBC SQL passthru query using multiple databases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dataflux can happily read SAS tables so I see no reason it could not read a SAS view.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 19:02:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Connecting-to-Multiple-Databases-Through-One-ODBC/m-p/251829#M6781</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-02-23T19:02:11Z</dc:date>
    </item>
  </channel>
</rss>

