<?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 Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088214#M362149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using and ODBC connection to connect to Sybase and my qlikView code is similar to below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ODBC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;CONNECT&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;EM&gt;DataSourceName&lt;/EM&gt; (&lt;SPAN style="color: #0000ff;"&gt;XUserId&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; &lt;EM&gt;UserName&lt;/EM&gt;, &lt;SPAN style="color: #0000ff;"&gt;XPassword&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; &lt;EM&gt;Password&lt;/EM&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; *;&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;SQL&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;SPAN style="color: #008000;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;exec &lt;EM&gt;StoredProcedureName&lt;/EM&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The connection is successful but, it always returns few number of records which is an incorrect output. When I run the same script with OLEDB connection, it works perfectly fine. Any idea what might be causing this issue..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 12:23:29 GMT</pubDate>
    <dc:creator>pooja_sn</dc:creator>
    <dc:date>2016-03-29T12:23:29Z</dc:date>
    <item>
      <title>ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088214#M362149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using and ODBC connection to connect to Sybase and my qlikView code is similar to below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ODBC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;CONNECT&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;EM&gt;DataSourceName&lt;/EM&gt; (&lt;SPAN style="color: #0000ff;"&gt;XUserId&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; &lt;EM&gt;UserName&lt;/EM&gt;, &lt;SPAN style="color: #0000ff;"&gt;XPassword&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; &lt;EM&gt;Password&lt;/EM&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; *;&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;SQL&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;SPAN style="color: #008000;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;exec &lt;EM&gt;StoredProcedureName&lt;/EM&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The connection is successful but, it always returns few number of records which is an incorrect output. When I run the same script with OLEDB connection, it works perfectly fine. Any idea what might be causing this issue..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 12:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088214#M362149</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-03-29T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088215#M362150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps the ODBC driver you're using doesn't support something that's return by the stored procedure. Is there a reason you think you should use ODBC instead of OLEDB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Perhaps that's not even necessary. Have you seen this video:&lt;IFRAME frameborder="0" width="425" height="350" src="https://www.youtube.com/embed/YUzdBvIDpQA" allowfullscreen=""&gt;&lt;/IFRAME&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 10:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088215#M362150</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-30T10:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088216#M362151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are u created ur ODBC connection through Control Panel-Administrative tools--Data source --on system DSN tab?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to use OLEDB instead of ODBC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 10:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088216#M362151</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2016-03-30T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088217#M362152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using ODBC connection was mandatory just because we are facing issues with OLEDB on server.&lt;/P&gt;&lt;P&gt;I have configured ODBC dataSource in System DSNs. The script returns correct result when executed for the first time and it seems that the result is cached and returned by the query every time I reload .&amp;nbsp; I tried using 'DISCONNECT' in script which does not work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2016 06:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088217#M362152</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-04-02T06:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088218#M362153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. I have configured ODBC in System DSNs and it works perfectly fine for other scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2016 07:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088218#M362153</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-04-02T07:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088219#M362154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check on the database server if the query that Qlik Sense sends to the database is executed and returns the results you expect. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Apr 2016 15:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088219#M362154</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-03T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088220#M362155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be helpful if you provide ODBC error message. Without this I can assume the following:&lt;/P&gt;&lt;P&gt;1. If this is possible - try debuging your stored procedure in order to return top 1, 2, 3 ... n records from it.&lt;/P&gt;&lt;P&gt;So you'll make sure whether it happens due to some specific record(s) or due to value of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Another way is to reproduce a query from the procedure on QV side. Of course this is only possible in case the procedure contains nothing except a select-query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Not sure, but if you procedure makes something except select's (insert's or update's), maybe it makes sense to tick this setting in Script Editor:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="120360" alt="2016-04-04_143240.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120360_2016-04-04_143240.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;It's needed when QV makes insert's or delete's from its side, though. So this is more likely a shamanism since it works over OLE DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Maxim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 04:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088220#M362155</guid>
      <dc:creator>maksim_senin</dc:creator>
      <dc:date>2016-04-04T04:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088221#M362156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. If I execute the same query in Sybase, it returns correct result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088221#M362156</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-04-04T08:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088222#M362157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If OLEDB works and ODBC doesn't then the ODBC driver is the problem. Ask the vendor that supplied to ODBC driver for help. Or just use OLEDB which will perform better anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088222#M362157</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-04T09:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Connection Issue</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088223#M362158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No error message is returned by the query instead it returns few incorrect records.&lt;/P&gt;&lt;P&gt;If I tick the setting 'Open database in Read and Write mode', the script is failing to reload.&lt;/P&gt;&lt;P&gt;The stored procedure mentioned is making few insert/update/delete using temporary tables in database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 09:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-Connection-Issue/m-p/1088223#M362158</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-04-05T09:52:56Z</dc:date>
    </item>
  </channel>
</rss>

