<?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 Re: DIRECT DISCOVERY, SQL()  and stored procedures execution in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/DIRECT-DISCOVERY-SQL-and-stored-procedures-execution/m-p/542736#M437730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Alex&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is quite cunning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It reminds me of the Sql Injection hacking method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 19:46:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-29T19:46:46Z</dc:date>
    <item>
      <title>DIRECT DISCOVERY, SQL()  and stored procedures execution</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-DISCOVERY-SQL-and-stored-procedures-execution/m-p/542734#M437728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you already know, DIRECT DISCOVERY allows to aggregate data at runtime using SQL-function in expressions. You can, for example, use following expression to find out maximux value for appropriate dimensions: SQL('MAX(some_column)'). But how about stored procedures execution? Something like this: SQL('EXEC MyStoredProcedure'). But such syntax is not allowed, i've go a message "Direct query failed" in my chart. After a while i've found solution and i would like to share idea here. Need to say, i've used MS SQL and following solution could be used with Microsoft SQL.&lt;/P&gt;&lt;P&gt;Here you are:&lt;/P&gt;&lt;P style="text-align: left;"&gt;SQL('1 as Dummy; EXEC MyStoredProcedure; --')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 14:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-DISCOVERY-SQL-and-stored-procedures-execution/m-p/542734#M437728</guid>
      <dc:creator>alex_nerush</dc:creator>
      <dc:date>2013-10-29T14:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT DISCOVERY, SQL()  and stored procedures execution</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-DISCOVERY-SQL-and-stored-procedures-execution/m-p/542735#M437729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u please setting with attached jpg and test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 16:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-DISCOVERY-SQL-and-stored-procedures-execution/m-p/542735#M437729</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2013-10-29T16:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT DISCOVERY, SQL()  and stored procedures execution</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-DISCOVERY-SQL-and-stored-procedures-execution/m-p/542736#M437730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Alex&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is quite cunning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It reminds me of the Sql Injection hacking method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 19:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-DISCOVERY-SQL-and-stored-procedures-execution/m-p/542736#M437730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-29T19:46:46Z</dc:date>
    </item>
  </channel>
</rss>

