<?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: In Qlik Sense SaaS, I cannot change Query timeout in ODBC connector accessing SQL Server data source in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483552#M101056</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115"&gt;@alexis&lt;/a&gt;&amp;nbsp; see below link if that helps. It seems to be possible but you need to make sure that these commands are supported by the database. It should at least send an error message instead silently exiting query&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/App-Development/Qlik-Sense-Timeout-loading-data-from-SQL/m-p/1219181" target="_blank"&gt;https://community.qlik.com/t5/App-Development/Qlik-Sense-Timeout-loading-data-from-SQL/m-p/1219181&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 14:50:18 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2024-09-25T14:50:18Z</dc:date>
    <item>
      <title>In Qlik Sense SaaS, I cannot change Query timeout in ODBC connector accessing SQL Server data source</title>
      <link>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483540#M101053</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;In Qlik Sense SaaS, I did the following:&lt;BR /&gt;a) In ODBC Data Source Administrator I created a 64-bit DSN using SQL Server driver - I called it XYZ&lt;/P&gt;
&lt;P&gt;b)&amp;nbsp;The DSN connector works perfectly&lt;/P&gt;
&lt;P&gt;c) In Qlik Sense I created a connection using the ODBC connector using the XYZ DSN defined above.&amp;nbsp;My connection string in my application is of the type:&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;LIB CONNECT TO 'XYZ (cypapp3_alexis)';&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;d) This also works perfectly&lt;BR /&gt;&lt;BR /&gt;Occasionally my queries to the source time-out and I wish to extend the Query timeout period to give the source the chance to deliver the data and stop my application from crashing. I cannot find ANYWHERE any way of changing the Query timeout period.&lt;/P&gt;
&lt;P&gt;CAN SOMEONE HELP??&lt;/P&gt;
&lt;P&gt;Regards and thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 13:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483540#M101053</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2024-09-25T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlik Sense SaaS, I cannot change Query timeout in ODBC connector accessing SQL Server data source</title>
      <link>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483552#M101056</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115"&gt;@alexis&lt;/a&gt;&amp;nbsp; see below link if that helps. It seems to be possible but you need to make sure that these commands are supported by the database. It should at least send an error message instead silently exiting query&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/App-Development/Qlik-Sense-Timeout-loading-data-from-SQL/m-p/1219181" target="_blank"&gt;https://community.qlik.com/t5/App-Development/Qlik-Sense-Timeout-loading-data-from-SQL/m-p/1219181&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 14:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483552#M101056</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-09-25T14:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlik Sense SaaS, I cannot change Query timeout in ODBC connector accessing SQL Server data source</title>
      <link>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483563#M101058</link>
      <description>&lt;P&gt;Hi Kushai and thanks for responding.&lt;/P&gt;
&lt;P&gt;The "solution" talks about:&lt;BR /&gt;&lt;EM&gt;"When you are setting the connection, at the bottom you have some space fields (under the header advanced) where you can fill some settings. We tried the following ones and it worked fine:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;There is no "Advanced" section and no space as described. Perhaps this has changed over the years (this answer is 7 years old after all!).. &lt;BR /&gt;&lt;BR /&gt;The only "hope" that I have is on the QMC when I examine the Data connector (see below) there is a line called "Connection String" (see arrow below) that contains the string&lt;BR /&gt;&lt;STRONG&gt;ODBC CONNECT TO [ACSCYPRUS;]&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Where &lt;STRONG&gt;LIB CONNECT&lt;/STRONG&gt; (as used in code) does not allow for any parameters to be added such as "QueryTimeout=123", I have seen elsewhere on the internet people using such a parameter when using&amp;nbsp;&lt;BR /&gt;ODBC CONNECT, so I wonder if I can modify the above to something like:&lt;BR /&gt;&lt;STRONG&gt;ODBC CONNECT TO [ACSCYPRUS;QueryTimeout=600]?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexis_0-1727276689449.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172156iB02A23E41E30E88A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexis_0-1727276689449.png" alt="alexis_0-1727276689449.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 15:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483563#M101058</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2024-09-25T15:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlik Sense SaaS, I cannot change Query timeout in ODBC connector accessing SQL Server data source</title>
      <link>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483569#M101060</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115"&gt;@alexis&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Note that the "&lt;/SPAN&gt;&lt;STRONG&gt;Query Timeout&lt;/STRONG&gt;&lt;SPAN&gt;" parameter may not be supported by all ODBC drivers, so it's possible that this solution may not work for your specific driver. If that's the case, you may need to explore other options or consider using a different ODBC driver that supports query timeouts.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 15:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/In-Qlik-Sense-SaaS-I-cannot-change-Query-timeout-in-ODBC/m-p/2483569#M101060</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-09-25T15:39:35Z</dc:date>
    </item>
  </channel>
</rss>

