<?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 Executing the same stored procedure multiple times in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Executing-the-same-stored-procedure-multiple-times/m-p/321585#M118474</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;I was wondering if it was possible to create a table that has the records from the same stored procedure executed multiple times?&amp;nbsp; I've tried to create a table and fill it with the statement below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ProposedBudgetIncome2013:&lt;/P&gt;&lt;P&gt;LOAD cmpcode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;CREATE TABLE #MyTable (cmpcode char(50),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el1 char(50),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el2 char(50),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el3 char(50))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT #MyTable&lt;/P&gt;&lt;P&gt;EXEC reportprocs.P_Return_CODAReportingBudgetIncomeStatement 'ACTUAL',2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT #MyTable&lt;/P&gt;&lt;P&gt;EXEC reportprocs.P_Return_CODAReportingBudgetIncomeStatement 'ACTUAL',2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT #MyTable&lt;/P&gt;&lt;P&gt;EXEC reportprocs.P_Return_CODAReportingBudgetIncomeStatement 'ACTUAL',2013;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get an error.&amp;nbsp; Any solutions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2012 15:17:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-31T15:17:53Z</dc:date>
    <item>
      <title>Executing the same stored procedure multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Executing-the-same-stored-procedure-multiple-times/m-p/321585#M118474</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;I was wondering if it was possible to create a table that has the records from the same stored procedure executed multiple times?&amp;nbsp; I've tried to create a table and fill it with the statement below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ProposedBudgetIncome2013:&lt;/P&gt;&lt;P&gt;LOAD cmpcode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;CREATE TABLE #MyTable (cmpcode char(50),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el1 char(50),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el2 char(50),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; el3 char(50))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT #MyTable&lt;/P&gt;&lt;P&gt;EXEC reportprocs.P_Return_CODAReportingBudgetIncomeStatement 'ACTUAL',2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT #MyTable&lt;/P&gt;&lt;P&gt;EXEC reportprocs.P_Return_CODAReportingBudgetIncomeStatement 'ACTUAL',2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT #MyTable&lt;/P&gt;&lt;P&gt;EXEC reportprocs.P_Return_CODAReportingBudgetIncomeStatement 'ACTUAL',2013;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get an error.&amp;nbsp; Any solutions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 15:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Executing-the-same-stored-procedure-multiple-times/m-p/321585#M118474</guid>
      <dc:creator />
      <dc:date>2012-01-31T15:17:53Z</dc:date>
    </item>
  </channel>
</rss>

