<?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: odbc read failed while executing sp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135868#M630838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Hello Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;About calling procedures for within QlikView, if you have not achieved, you can try the way that I will mentioned below.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Step 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Set your script editor and it will open the databases in read and write mode.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/129548_Capture.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Step 2:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Correctly write your connection string, it is ODBC or OLEDB, add, before or after the password the following content&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; text-decoration: underline;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Mode is write&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;IMG alt="Capture.PNG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/129549_Capture.PNG" style="height: 24px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Step 3:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Write correctly the call of Procedure that you want to call, in my example will look like this ...&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;SQL call user_bi.prc.Anil('6.2016','017');"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/129550_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;I think this should work. Try and let me know..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;- Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2016 12:16:50 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-06-29T12:16:50Z</dc:date>
    <item>
      <title>odbc read failed while executing sp</title>
      <link>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135863#M630833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table having 14000 records and 3 columns in a table called tableserver. i created a sp as following in sql server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create procedure spc_test&lt;/P&gt;&lt;P&gt;as&lt;/P&gt;&lt;P&gt;begin &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select top 1 col1,col2,col3 from tableserver&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to exec this sp through Qlik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO server;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL exec spc_test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getting following error while reloading the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC read failed&lt;/P&gt;&lt;P&gt;SQL exec spc_test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the same time if i query the records in qlikview, it fetching all the 14000 records&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ODBC CONNECT32 TO server;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SQL select * from &lt;SPAN style="font-size: 13.3333px;"&gt;tableserver&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Request you to kindly clarify the behavior and help us on this issue for using sp.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in Advance...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;With Regards&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Deepak Subramoniam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 05:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135863#M630833</guid>
      <dc:creator />
      <dc:date>2016-06-29T05:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: odbc read failed while executing sp</title>
      <link>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135864#M630834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you installed all the necessary driver ? check the syntax in Qlikview script editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;share the script so that we can identify the issue &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 07:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135864#M630834</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-06-29T07:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: odbc read failed while executing sp</title>
      <link>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135865#M630835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;qlikvew cannot execute stored [procedures.&lt;/P&gt;&lt;P&gt;It can only execute any of the attached screenshot and any nested sql statement.etc...&lt;IMG alt="2016-06-29_0-05-32.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/129509_2016-06-29_0-05-32.png" style="height: 153px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 07:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135865#M630835</guid>
      <dc:creator>vikramv</dc:creator>
      <dc:date>2016-06-29T07:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: odbc read failed while executing sp</title>
      <link>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135866#M630836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Vikram Vangala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was able to execute a sp with both with and without input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create table test&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;col1 int, col2 varchar(100)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert into test values (1,'a')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create procedure Qliktest&lt;/P&gt;&lt;P&gt;as&lt;/P&gt;&lt;P&gt;begin &lt;/P&gt;&lt;P&gt;select col1,col2 from test&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;create procedure Qliktest_inp&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;@col1 int&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;as&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;begin &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;select col1,col2 from test where col1 =@col1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;end&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Qlik View code&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;================================&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC CONNECT32 TO server;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL exec &lt;SPAN style="font-size: 13.3333px;"&gt;Qliktest&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output&lt;/P&gt;&lt;P&gt;fetched 1 record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC CONNECT32 TO server;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL exec &lt;SPAN style="font-size: 13.3333px;"&gt;Qliktest_inp&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;input : 1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;output&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;fetched 1 record&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;the problem for me is above as mentioned in discussion. is there any timeout parameter needs to be set..??&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/124029"&gt;vikramvangala&lt;/A&gt;‌: thanks for spending your valuable time on my issue, please help me further to sort out this isse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance...&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Deepak Subramoniam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 10:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135866#M630836</guid>
      <dc:creator />
      <dc:date>2016-06-29T10:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: odbc read failed while executing sp</title>
      <link>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135867#M630837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SQL exec &lt;STRONG&gt;schema_name.database_name.&lt;/STRONG&gt;spc_test;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 10:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135867#M630837</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-06-29T10:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: odbc read failed while executing sp</title>
      <link>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135868#M630838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Hello Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;About calling procedures for within QlikView, if you have not achieved, you can try the way that I will mentioned below.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Step 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Set your script editor and it will open the databases in read and write mode.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/129548_Capture.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Step 2:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Correctly write your connection string, it is ODBC or OLEDB, add, before or after the password the following content&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; text-decoration: underline;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Mode is write&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;IMG alt="Capture.PNG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/129549_Capture.PNG" style="height: 24px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Step 3:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Write correctly the call of Procedure that you want to call, in my example will look like this ...&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;SQL call user_bi.prc.Anil('6.2016','017');"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/129550_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;I think this should work. Try and let me know..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;- Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135868#M630838</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-06-29T12:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: odbc read failed while executing sp</title>
      <link>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135869#M630839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.I thought you just wanted to read the data.If yoou need to update anything back to database then t&lt;SPAN style="font-size: 13.3333px;"&gt;ry Anil Babu's solution.It would work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 17:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/odbc-read-failed-while-executing-sp/m-p/1135869#M630839</guid>
      <dc:creator>vikramv</dc:creator>
      <dc:date>2016-06-29T17:55:05Z</dc:date>
    </item>
  </channel>
</rss>

