<?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 Can i dynamically asign a database name to an existing SQL Server /lib connection whose logins/server is the same? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Can-i-dynamically-asign-a-database-name-to-an-existing-SQL/m-p/2078471#M88465</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an existing SQL Server connection setup using the Data Gateway and pointing&amp;nbsp; and authenticating to a singular database however the same server also has a number of other databases (different company name) but with identical table names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could create a new connection to each database but i was wondering if there is a way, perhaps via "WITH CONNECTION" where i can specify the database name utilizing the same connection details but pointing to a the different database names?&amp;nbsp; If so what that syntax should look like and if not is there another way?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;John&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 15:05:27 GMT</pubDate>
    <dc:creator>jmcy2408</dc:creator>
    <dc:date>2023-05-31T15:05:27Z</dc:date>
    <item>
      <title>Can i dynamically asign a database name to an existing SQL Server /lib connection whose logins/server is the same?</title>
      <link>https://community.qlik.com/t5/App-Development/Can-i-dynamically-asign-a-database-name-to-an-existing-SQL/m-p/2078471#M88465</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an existing SQL Server connection setup using the Data Gateway and pointing&amp;nbsp; and authenticating to a singular database however the same server also has a number of other databases (different company name) but with identical table names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could create a new connection to each database but i was wondering if there is a way, perhaps via "WITH CONNECTION" where i can specify the database name utilizing the same connection details but pointing to a the different database names?&amp;nbsp; If so what that syntax should look like and if not is there another way?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;John&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 15:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Can-i-dynamically-asign-a-database-name-to-an-existing-SQL/m-p/2078471#M88465</guid>
      <dc:creator>jmcy2408</dc:creator>
      <dc:date>2023-05-31T15:05:27Z</dc:date>
    </item>
  </channel>
</rss>

