<?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 How to use a variable instead of a Query/ Proc in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-a-variable-instead-of-a-Query-Proc/m-p/1028149#M347312</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 am trying to pass a variable with procedure instead of direct execute statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlick Query.png" class="jive-image image-1" src="/legacyfs/online/122833_Qlick Query.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I can see the statement loaded in the variable, but the EXEC statement is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Could not find stored procedure 'Query'.&lt;/P&gt;&lt;P&gt;QueryResult:&lt;/P&gt;&lt;P&gt;SQL EXEC Query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 08:46:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-27T08:46:54Z</dc:date>
    <item>
      <title>How to use a variable instead of a Query/ Proc</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-variable-instead-of-a-Query-Proc/m-p/1028149#M347312</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 am trying to pass a variable with procedure instead of direct execute statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlick Query.png" class="jive-image image-1" src="/legacyfs/online/122833_Qlick Query.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I can see the statement loaded in the variable, but the EXEC statement is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Could not find stored procedure 'Query'.&lt;/P&gt;&lt;P&gt;QueryResult:&lt;/P&gt;&lt;P&gt;SQL EXEC Query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 08:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-variable-instead-of-a-Query-Proc/m-p/1028149#M347312</guid>
      <dc:creator />
      <dc:date>2016-04-27T08:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a variable instead of a Query/ Proc</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-variable-instead-of-a-Query-Proc/m-p/1028150#M347313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need this to set the variable correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vDynamicQuery = peek('Query',0,'QueryTable');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-variable-instead-of-a-Query-Proc/m-p/1028150#M347313</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-27T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a variable instead of a Query/ Proc</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-variable-instead-of-a-Query-Proc/m-p/1028151#M347314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gysbert! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 16:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-variable-instead-of-a-Query-Proc/m-p/1028151#M347314</guid>
      <dc:creator />
      <dc:date>2016-04-27T16:46:19Z</dc:date>
    </item>
  </channel>
</rss>

