<?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 SQL Stored Procedure into QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162425#M35926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i'm currently trying to get data with stored procedures into Qlikview.&lt;BR /&gt;Is this possible?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Elzo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2009 17:58:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-18T17:58:44Z</dc:date>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162425#M35926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i'm currently trying to get data with stored procedures into Qlikview.&lt;BR /&gt;Is this possible?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Elzo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 17:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162425#M35926</guid>
      <dc:creator />
      <dc:date>2009-08-18T17:58:44Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162426#M35927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elzo,&lt;/P&gt;&lt;P&gt;It is possible:&lt;/P&gt;&lt;P&gt;LOAD xx, yy;&lt;/P&gt;&lt;P&gt;SQL EXEC sp_xxyy;&lt;/P&gt;&lt;P&gt;But sometimes it is a better idea to go back a step and load the source data from the SP into QV and manipulate it there - you might get more and better results that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 18:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162426#M35927</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-08-18T18:10:31Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162427#M35928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi elzo....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its possible we working it now will mail u qvw sample in couple of hrs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 12:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162427#M35928</guid>
      <dc:creator />
      <dc:date>2009-08-19T12:29:44Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162428#M35929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, SQL Server&lt;BR /&gt;By using the EXECUTE command in an SQL statement it's possible to execute stored procedures, if the user is granted access to do so on the server. Here are two examples:&lt;BR /&gt;&lt;BR /&gt;Executing sp with input / output parameters&lt;BR /&gt;&lt;BR /&gt;SQL&lt;BR /&gt;declare @var3 int&lt;BR /&gt;execute sp_myProcedure 5,3, @var3 output&lt;BR /&gt;Select @var3 as result;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Executing sp returning a result set&lt;BR /&gt;&lt;BR /&gt;SQL Execute CustOrderHist 'CustomerNo';&lt;/P&gt;&lt;P&gt;ORACLE:&lt;/P&gt;&lt;DIV class="ExternalClassCAE6A101712041B285099228AF27BFC3"&gt;&lt;P&gt;In Oracle, you can call a stored function with a syntax like:&lt;BR /&gt;&lt;BR /&gt;var result number&lt;BR /&gt;exec :result := pkg_ims_status.ext_checkdbstatus()&lt;BR /&gt;&lt;BR /&gt;The function will return a value to be stored in the variable result.&lt;BR /&gt;&lt;BR /&gt;You can call the same function in QlikView using an ordinary SQL SELECT-statement like:&lt;BR /&gt;&lt;BR /&gt;SQL SELECT&lt;BR /&gt;pkg_ims_status.ext_checkdbstatus() as status;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Running a stored procedure without returning any recordset:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Use the function CALL to specify the name of the stored procedure.&lt;/P&gt;&lt;P&gt;Example (Launches XYZ with the two parameters 2 &amp;amp; 5):&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;sql call XYZ ( 2 , 5 );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for both ODBC and OLE DB. However, when opening the connection using OLE DB, make sure to add &lt;EM&gt;(mode is write)&lt;/EM&gt; before the finishing semi colon in the connection string.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Note1:&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;You need to make sure that you activated "Open Databases in Read and Write mode" in QlikView. This is done in the script editor on the tab "Settings".&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Note2:&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;If using OLEDB as a provider, you will also need to add the parameter "mode is write" in the OLEDB-connection:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CONNECT TO [Provider=SQLOLEDB.1;Persist Security Info=True;Initial Catalog=Northwind;Data Source=mySQL;](&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;mode is write&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 13:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162428#M35929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-19T13:31:51Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162429#M35930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. You're great!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 13:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162429#M35930</guid>
      <dc:creator />
      <dc:date>2009-08-19T13:42:00Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162430#M35931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. It worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 18:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162430#M35931</guid>
      <dc:creator />
      <dc:date>2009-11-20T18:08:45Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162431#M35932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Johannes for such a detail examples&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;BR /&gt;Shumail Hussain&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 18:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162431#M35932</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2009-11-20T18:25:10Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162432#M35933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I´m trying to read out parameters from a Oracle Stored Procedures.&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Federico Martino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 19:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162432#M35933</guid>
      <dc:creator />
      <dc:date>2010-01-20T19:54:15Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162433#M35934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archana..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send us a sample document for stored procedure that returns table ?&lt;/P&gt;&lt;P&gt;? can't do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 10:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162433#M35934</guid>
      <dc:creator />
      <dc:date>2010-02-05T10:42:15Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162434#M35935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Canolmez,&lt;BR /&gt;try this code snippet for any sp which takes two "dates" as input parameter and 1 outparameter. or u can create a new sample sp too if you are comfortable in writing stored procedures.&lt;BR /&gt;hopes this works for you&lt;BR /&gt;regs&lt;BR /&gt;archana&lt;BR /&gt;*************************************************************************************************************************&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Input ('Enter an from date value', 'Input box') as value1_date,&lt;/P&gt;&lt;P&gt;Input('Enter an end date value', 'Input box') as value2_date&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;Let FromDate = peek('value1_date',0,'Input');&lt;/P&gt;&lt;P&gt;Let DateTo = peek('value2_date',0,'Input');&lt;/P&gt;&lt;P&gt;sql&lt;/P&gt;&lt;P&gt;DECLARE @date1 datetime,&lt;/P&gt;&lt;P&gt;@date2 datetime,&lt;/P&gt;&lt;P&gt;@vol int&lt;/P&gt;&lt;P&gt;EXEC [dbo].[test_proc] '$(FromDate)', '$(DateTo)', @vol OUTPUT&lt;/P&gt;&lt;P&gt;SELECT @vol as vol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2010 09:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162434#M35935</guid>
      <dc:creator />
      <dc:date>2010-02-08T09:51:17Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162435#M35936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works for SQL, thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 13:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162435#M35936</guid>
      <dc:creator />
      <dc:date>2010-03-02T13:37:39Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162436#M35937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you expand a bit more on the "(mode is write)" that appears in the CONNECT statement? I'm having difficulty determining if this is part of the SQLOLEDB string or if this is additional information that is required by QlikView to establish a connection.&lt;/P&gt;&lt;P&gt;If this is not part of the SQLOLEDB string, where can we find documentation about the syntax for the CONNECT statement?&lt;/P&gt;&lt;P&gt;I can get a simple stored procedure to execute and return rows, but longer running stored procedures seem to fail with an authentication eror message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! - Wade&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 20:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162436#M35937</guid>
      <dc:creator>wadesims</dc:creator>
      <dc:date>2010-03-11T20:31:12Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162437#M35938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a more specific example of a problem for which I am searching for documentation:&lt;/P&gt;&lt;P&gt;I am having trouble combining the string (mode is write) with the string (XPassword is ABCDEFGHIjkLMnOPQRSTuVw) in the CONNECT statement. It interprets the second string as garbage.&lt;/P&gt;&lt;P&gt;I have temporarily worked around the problem by setting the Settings under User Preference on the Security tab by checking under the section "Always Override Security" the box labeled "Script (Allow Database Write and Execute Statements)"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 21:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162437#M35938</guid>
      <dc:creator>wadesims</dc:creator>
      <dc:date>2010-03-11T21:45:50Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162438#M35939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post script - determined an acceptable syntax through trial and errror:&lt;/P&gt;&lt;P&gt;In this particular case, adding "(XPassword is ABCDEFGHIjkLMnOPQRSTuVw, mode is write)" to the connect string works when you need to both use a specific user name and password and also open the database in read and write mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 17:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162438#M35939</guid>
      <dc:creator>wadesims</dc:creator>
      <dc:date>2010-03-12T17:36:45Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162439#M35940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My Stored Procedure does not return data to qlikview, when I use sql temp tables or table variables in my stored procedure.&lt;/P&gt;&lt;P&gt;Actually it is working in sql server management studio but in qlikview there is a problem with those tables. But I have to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know anything to fix it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 08:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162439#M35940</guid>
      <dc:creator />
      <dc:date>2010-04-14T08:49:10Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162440#M35941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tuba:&lt;/P&gt;&lt;P&gt;I have run into the same or similar problem. I am running SQL Server 2005 as a database. For me, I can use #temp tables in a stored procedure just fine, but when I try to select rows from a temp table as the final step in the process, it behaves as though the table has been dropped before the rows are returned. As a work-around I have left all of my #temp tables that are used as intermediate steps in the procedure in place, but have created a permanent table in which to store the rows corresponding to the result of the query. I run a separate "SQL SELECT" statement immediately following the execution of the stored procedure to return the desired rows.&lt;/P&gt;&lt;P&gt;It isn't an optimal solution, but it seems to work and gets the job done.&lt;/P&gt;&lt;P&gt;I hope that this helps!&lt;/P&gt;&lt;P&gt;- Wade&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 14:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162440#M35941</guid>
      <dc:creator>wadesims</dc:creator>
      <dc:date>2010-04-15T14:42:36Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162441#M35942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;I am running SQL Server 2008 and the same problem exists. I also have created a permanent table to store the result.&lt;/P&gt;&lt;P&gt;It is not a good solution but I think there is no other way to handle it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 13:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162441#M35942</guid>
      <dc:creator />
      <dc:date>2010-04-26T13:39:54Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162442#M35943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting an OLEDB error&lt;/P&gt;&lt;P&gt;OLEDB read failed&lt;/P&gt;&lt;P&gt;SQL EXEC sp_xyz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this might be something to do with the connection mode, My stored procedure is also writing data in tmp tables the database and i have tried adding "mode is write" at the end of the connection string but it still giving me the same error !&lt;/P&gt;&lt;P&gt;my connection string is&lt;/P&gt;&lt;P&gt;CONNECT TO [ConnectMIS;DSN=ConnectMIS;UID=usr-a;PWD=usr-a;DATABASE=mis] (UserId is "mis-a", Password is "mis-a",mode is write);&lt;/P&gt;&lt;P&gt;I am able to execute the stored procs which are simple reads with no temp tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knws how to sort this out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 15:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162442#M35943</guid>
      <dc:creator />
      <dc:date>2010-05-26T15:36:10Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162443#M35944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit:&lt;/P&gt;&lt;P&gt;We have been experiencing the same problem. I do not think it is something you are doing.&lt;/P&gt;&lt;P&gt;As a work-around, we are creating permanent tables and then running three steps in our script:&lt;/P&gt;&lt;P&gt;1) Execute the stored procedure that populates the permanent table in SQL Server.&lt;/P&gt;&lt;P&gt;2) SQL SELECT * FROM &amp;lt;permanent table&amp;gt; into a resident QlikView table.&lt;/P&gt;&lt;P&gt;3) Execute a stored procedure that truncates the permanent table in SQL Server.&lt;/P&gt;&lt;P&gt;We had some reps from QlikTech in the office yesterday and they are checking into the reason why we get this behavior, but it appears to be common to all users. If anyone gets this to work, please follow up with a post!&lt;/P&gt;&lt;P&gt;- Wade&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 16:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162443#M35944</guid>
      <dc:creator>wadesims</dc:creator>
      <dc:date>2010-05-26T16:58:11Z</dc:date>
    </item>
    <item>
      <title>SQL Stored Procedure into QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162444#M35945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Wade ... appreciate it !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 18:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedure-into-QlikView/m-p/162444#M35945</guid>
      <dc:creator />
      <dc:date>2010-05-26T18:16:23Z</dc:date>
    </item>
  </channel>
</rss>

