<?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 Stored Procedure in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715212#M257306</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 not able to execute the below stored procedure in qlikview. I followed some of the threads available in the community.&lt;/P&gt;&lt;P&gt;However I'm able to fix the OLEDB connection issue with &lt;STRONG&gt;mode is write&lt;/STRONG&gt; in the connection string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not able to succeed with the sp below. However I used &lt;STRONG&gt;set NOCOUNT ON &lt;/STRONG&gt;command in the starting of the statement, but it's throwing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone&amp;nbsp; please help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL DECLARE @lsinBndrLID smallint,&lt;BR /&gt; @lintBlendCondID int,&lt;BR /&gt; @ldtQueryStart datetime,&lt;BR /&gt; @ldtQueryEnd datetime,&lt;BR /&gt; @lcurPRC CURSOR,&lt;BR /&gt;---------------&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;---------------&lt;BR /&gt; @ldatBlndingStarted datetime;&lt;/P&gt;&lt;P&gt;SQL DECLARE @tblBlndgResults TABLE&lt;BR /&gt;(&lt;BR /&gt; vchSKUName varchar(50),&lt;BR /&gt; vchBatchCode varchar(50),&lt;BR /&gt; vchPrdCode varchar(50),&lt;BR /&gt; datPRCCStarted datetime,&lt;BR /&gt; datBlndingStarted datetime&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET @ldtQueryStart = '20141005'; &lt;BR /&gt;LET @ldtQueryEnd = '20141010'; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET @lsinBlndrLineID = 19;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;LET @lintBlndCondID = 2402;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET @lcurPRC = CURSOR FAST_FORWARD FOR;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SQL SELECT intStart, intEnd &lt;BR /&gt;FROM tblDatSgnl&lt;BR /&gt;WHERE intCondID = '$(@lintBlndCondID)'&lt;BR /&gt;AND intStart&amp;gt;DATEDIFF(s,'20000101','$(@ldatQueryStart)')&lt;BR /&gt;AND intEnd&amp;gt;DATEDIFF(s,'20000101','$(@ldatQueryStart)')&lt;BR /&gt;ORDER BY intStart;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OPEN @lcurPRC&lt;/P&gt;&lt;P&gt;FETCH NEXT FROM '$(@lcurPRC)'&lt;BR /&gt;INTO '$(@lintBlendStart)', '$(@lintBlendEnd)'&lt;/P&gt;&lt;P&gt;WHILE '$(@@FETCH_STATUS)' = 0&lt;BR /&gt;BEGIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; temp_Blndg_Started:&lt;BR /&gt;&amp;nbsp; EXEC&amp;nbsp; TOP 1&lt;BR /&gt; '$(@lvchSKUName)'=MIN(vchSKUName), &lt;BR /&gt; '$(@lvchBatchCode)'=MIN(vchBatchCode),&lt;BR /&gt; '$(@lvchProdCode)'=MIN(vchProdCode),&lt;BR /&gt; '$(@ldatPRCStarted)'=DATEADD(s, MIN(intStart), '20000101')&lt;BR /&gt; FROM tblDataLineTimes DLT&lt;BR /&gt; LEFT JOIN -------------&lt;BR /&gt; WHERE sinLineID = '$(@lsinBlndrLineID)'&lt;BR /&gt; GROUP BY intPRCID&lt;BR /&gt; HAVING MAX(intEnd) &amp;gt; '$(@lintBlndStart)'&lt;BR /&gt; AND MIN(intStart) &amp;lt; '$(@lintBlndEnd)'&lt;BR /&gt; ORDER BY MIN(intStart) DESC&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; INSERT INTO @tblBlndgResults VALUES&lt;BR /&gt; ('$(@lvchSKUName,@lvchBatchCode,@lvchPrdCode,@ldatPRCCStarted,&lt;BR /&gt; DATEADD(s, @lintBlndStart, '20000101'))&lt;/P&gt;&lt;P&gt; FETCH NEXT FROM @lcurPRC&lt;BR /&gt; INTO @lintBlendStart, @lintBlendEnd&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;CLOSE @lcurPRC&lt;BR /&gt;DEALLOCATE @lcurPRC&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Blndg_Started:&lt;BR /&gt;Load*;&lt;BR /&gt;SQL EXEC &lt;BR /&gt;vchSKUName [SKU Name], &lt;BR /&gt;datPRCStarted [PRC Started], &lt;BR /&gt;vchBatchCode [Batch Code],&lt;BR /&gt;vchProdCode [Product Code],&lt;BR /&gt;datBlendingStarted [Blending Started]&lt;BR /&gt;FROM @tblBlndgResults &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 19:48:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-28T19:48:53Z</dc:date>
    <item>
      <title>Stored Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715212#M257306</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 not able to execute the below stored procedure in qlikview. I followed some of the threads available in the community.&lt;/P&gt;&lt;P&gt;However I'm able to fix the OLEDB connection issue with &lt;STRONG&gt;mode is write&lt;/STRONG&gt; in the connection string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not able to succeed with the sp below. However I used &lt;STRONG&gt;set NOCOUNT ON &lt;/STRONG&gt;command in the starting of the statement, but it's throwing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone&amp;nbsp; please help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL DECLARE @lsinBndrLID smallint,&lt;BR /&gt; @lintBlendCondID int,&lt;BR /&gt; @ldtQueryStart datetime,&lt;BR /&gt; @ldtQueryEnd datetime,&lt;BR /&gt; @lcurPRC CURSOR,&lt;BR /&gt;---------------&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;---------------&lt;BR /&gt; @ldatBlndingStarted datetime;&lt;/P&gt;&lt;P&gt;SQL DECLARE @tblBlndgResults TABLE&lt;BR /&gt;(&lt;BR /&gt; vchSKUName varchar(50),&lt;BR /&gt; vchBatchCode varchar(50),&lt;BR /&gt; vchPrdCode varchar(50),&lt;BR /&gt; datPRCCStarted datetime,&lt;BR /&gt; datBlndingStarted datetime&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET @ldtQueryStart = '20141005'; &lt;BR /&gt;LET @ldtQueryEnd = '20141010'; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET @lsinBlndrLineID = 19;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;LET @lintBlndCondID = 2402;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET @lcurPRC = CURSOR FAST_FORWARD FOR;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SQL SELECT intStart, intEnd &lt;BR /&gt;FROM tblDatSgnl&lt;BR /&gt;WHERE intCondID = '$(@lintBlndCondID)'&lt;BR /&gt;AND intStart&amp;gt;DATEDIFF(s,'20000101','$(@ldatQueryStart)')&lt;BR /&gt;AND intEnd&amp;gt;DATEDIFF(s,'20000101','$(@ldatQueryStart)')&lt;BR /&gt;ORDER BY intStart;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OPEN @lcurPRC&lt;/P&gt;&lt;P&gt;FETCH NEXT FROM '$(@lcurPRC)'&lt;BR /&gt;INTO '$(@lintBlendStart)', '$(@lintBlendEnd)'&lt;/P&gt;&lt;P&gt;WHILE '$(@@FETCH_STATUS)' = 0&lt;BR /&gt;BEGIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; temp_Blndg_Started:&lt;BR /&gt;&amp;nbsp; EXEC&amp;nbsp; TOP 1&lt;BR /&gt; '$(@lvchSKUName)'=MIN(vchSKUName), &lt;BR /&gt; '$(@lvchBatchCode)'=MIN(vchBatchCode),&lt;BR /&gt; '$(@lvchProdCode)'=MIN(vchProdCode),&lt;BR /&gt; '$(@ldatPRCStarted)'=DATEADD(s, MIN(intStart), '20000101')&lt;BR /&gt; FROM tblDataLineTimes DLT&lt;BR /&gt; LEFT JOIN -------------&lt;BR /&gt; WHERE sinLineID = '$(@lsinBlndrLineID)'&lt;BR /&gt; GROUP BY intPRCID&lt;BR /&gt; HAVING MAX(intEnd) &amp;gt; '$(@lintBlndStart)'&lt;BR /&gt; AND MIN(intStart) &amp;lt; '$(@lintBlndEnd)'&lt;BR /&gt; ORDER BY MIN(intStart) DESC&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; INSERT INTO @tblBlndgResults VALUES&lt;BR /&gt; ('$(@lvchSKUName,@lvchBatchCode,@lvchPrdCode,@ldatPRCCStarted,&lt;BR /&gt; DATEADD(s, @lintBlndStart, '20000101'))&lt;/P&gt;&lt;P&gt; FETCH NEXT FROM @lcurPRC&lt;BR /&gt; INTO @lintBlendStart, @lintBlendEnd&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;CLOSE @lcurPRC&lt;BR /&gt;DEALLOCATE @lcurPRC&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Blndg_Started:&lt;BR /&gt;Load*;&lt;BR /&gt;SQL EXEC &lt;BR /&gt;vchSKUName [SKU Name], &lt;BR /&gt;datPRCStarted [PRC Started], &lt;BR /&gt;vchBatchCode [Batch Code],&lt;BR /&gt;vchProdCode [Product Code],&lt;BR /&gt;datBlendingStarted [Blending Started]&lt;BR /&gt;FROM @tblBlndgResults &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 19:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715212#M257306</guid>
      <dc:creator />
      <dc:date>2014-10-28T19:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715213#M257307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;have you tried calling directly the SP inside QlikView, instead of pasting the code of the SP in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I mean is to extract data from SP like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QVTable:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL Execute SP_NAME 'Parameter1', 'Parameter2';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your case it seems like your parameters are:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;@lsinBndrLID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;@lintBlendCondID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;@ldtQuery&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;@ldtQuery&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;@lcurPRC &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;you can store these parameters in qlikview variables or send them directly. Remember that parameters need to be separated by commas and between single quotes (if you use variables inside QV you need to call them like &lt;STRONG&gt;'$(VariableName)' )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Just take care of the format needed for your parameters and the order of them,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Additionally, you may want to store the SP in a qvd with store statement,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 20:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715213#M257307</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-10-28T20:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715214#M257308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tripathy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this create Stored procedure with a name in SQL server for example your Stored procedure name is SPSample then you can call or excute as below statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tablename:&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;EXECUTE DATABASENAME.Schemaname.storeprocedurename;&lt;/P&gt;&lt;P&gt;store tablename into [$(path)tablename.qvd];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 20:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715214#M257308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-28T20:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715215#M257309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaime,&lt;/P&gt;&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;There is no Sp name defined in the script. Sorry but i'm not so familiar with Stored procedure.&lt;/P&gt;&lt;P&gt;As far as my understanding, my query throws error after the first sql statement and prior to the CURSOR statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with the suggestions given by you. I get error as there is no SP defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 07:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715215#M257309</guid>
      <dc:creator />
      <dc:date>2014-10-29T07:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715216#M257310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions please?&lt;/P&gt;&lt;P&gt;@&lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt; &lt;A href="https://community.qlik.com/people/maxgro"&gt;maxgro&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 14:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715216#M257310</guid>
      <dc:creator />
      <dc:date>2014-10-29T14:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715217#M257311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just have to create a Stored Procedure &lt;STRONG&gt;in SQL&lt;/STRONG&gt; (with Create Procedure statement). once you have this, you can call the Stored procedure from &lt;STRONG&gt;QlikView&lt;/STRONG&gt; with the Execute statement. There are plenty of documentation about how to create a SP in any Database,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 15:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715217#M257311</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-10-29T15:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715218#M257312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi Tripathy,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Create s stored procedure in the database. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Connect to the database from Qlikview &amp;amp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Run the stored Procedure Query in Qlikview.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Ex:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;EXECUTE Database_Name.dbo.[SP_StoredProcedure1]&lt;/P&gt;&lt;P&gt;and put the below settings in the edit script&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Stored Procedure.png" class="jive-image" src="/legacyfs/online/69998_Stored Procedure.png" style="width: 620px; height: 146px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 15:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-in-qlikview/m-p/715218#M257312</guid>
      <dc:creator>narband2778</dc:creator>
      <dc:date>2014-10-29T15:19:44Z</dc:date>
    </item>
  </channel>
</rss>

