<?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 queries in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stored-procedure-queries/m-p/152527#M29928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;stored procedure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SelectIncrementalSales&lt;/P&gt;&lt;P&gt;@maxSalesYr&lt;/P&gt;&lt;P&gt;as int&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;@maxSalesMo&lt;/P&gt;&lt;P&gt;as int&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;@maxSalesD&lt;/P&gt;&lt;P&gt;as int&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Nov 2009 21:59:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-15T21:59:23Z</dc:date>
    <item>
      <title>Stored procedure queries</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-procedure-queries/m-p/152526#M29927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the porper syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;I&gt;&lt;/I&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;maxYrDate:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Directory&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;...\marketing_sales_data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;load&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;max(Y1) &lt;B&gt;as&lt;/B&gt; maxYr &lt;B&gt;from&lt;/B&gt; sales.qvd (qvd) &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;let&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;maxSalesYr = peek('maxYr') &lt;P&gt;;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;maxMoDate:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Directory&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;...\marketing_sales_data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;load&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;max(M1) &lt;B&gt;as&lt;/B&gt; maxMo &lt;B&gt;from&lt;/B&gt; sales.qvd (qvd) &lt;B&gt;where&lt;/B&gt; Y1=&lt;B&gt;&lt;I&gt;$(maxSalesYr)&lt;/I&gt;&lt;/B&gt; &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;let&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;maxSalesMo = peek('maxMo') &lt;P&gt;;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;maxDayDate:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Directory&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...\marketing_sales_data;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;load&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;max(D1) &lt;B&gt;as&lt;/B&gt; maxDay &lt;B&gt;from&lt;/B&gt; sales.qvd (qvd) &lt;B&gt;where&lt;/B&gt; Y1=&lt;B&gt;&lt;I&gt;$(maxSalesYr)&lt;/I&gt;&lt;/B&gt; &lt;B&gt;and&lt;/B&gt; M1=&lt;B&gt;&lt;I&gt;$(maxSalesMo)&lt;/I&gt;&lt;/B&gt; &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;let&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;maxSalesD = peek('maxDay') &lt;P&gt;;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;STRONG&gt;sales:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Execute&lt;/STRONG&gt; dbo.SelectIncrementalSales &lt;I&gt;&lt;STRONG&gt;$(maxSalesYr)&lt;/STRONG&gt;&lt;/I&gt;, &lt;I&gt;&lt;STRONG&gt;$(maxSalesMo)&lt;/STRONG&gt;&lt;/I&gt;, &lt;I&gt;&lt;STRONG&gt;$(maxSalesD)&lt;/STRONG&gt;&lt;/I&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Directory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... \marketing_sales_data;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Concatenate Load * from sales.qvd (ansi, txt, delimiter is ',', embedded labels);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate&lt;/STRONG&gt; &lt;STRONG&gt;Load&lt;/STRONG&gt; * &lt;STRONG&gt;from&lt;/STRONG&gt; sales.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Directory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... \marketing_sales_data;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales &lt;STRONG&gt;into&lt;/STRONG&gt; sales.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;for incremental data load because the stored procedure doesn't seem to run. In the debug, the program just seems to skip over it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 21:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-procedure-queries/m-p/152526#M29927</guid>
      <dc:creator />
      <dc:date>2009-11-15T21:58:18Z</dc:date>
    </item>
    <item>
      <title>Stored procedure queries</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-procedure-queries/m-p/152527#M29928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;stored procedure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SelectIncrementalSales&lt;/P&gt;&lt;P&gt;@maxSalesYr&lt;/P&gt;&lt;P&gt;as int&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;@maxSalesMo&lt;/P&gt;&lt;P&gt;as int&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;@maxSalesD&lt;/P&gt;&lt;P&gt;as int&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 21:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-procedure-queries/m-p/152527#M29928</guid>
      <dc:creator />
      <dc:date>2009-11-15T21:59:23Z</dc:date>
    </item>
  </channel>
</rss>

