<?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 DB SQL inside QV script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724496#M1072166</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 having new and interesting requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Select * from msd.emp where empid&amp;gt;10 " this is the sql and i want to use the same sql in Qlikview Script editor.&lt;/P&gt;&lt;P&gt;Instead of fetching the table how to use this SQL script inside the Qlikview Script editor??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 16:08:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-06T16:08:02Z</dc:date>
    <item>
      <title>DB SQL inside QV script</title>
      <link>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724496#M1072166</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 having new and interesting requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Select * from msd.emp where empid&amp;gt;10 " this is the sql and i want to use the same sql in Qlikview Script editor.&lt;/P&gt;&lt;P&gt;Instead of fetching the table how to use this SQL script inside the Qlikview Script editor??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 16:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724496#M1072166</guid>
      <dc:creator />
      <dc:date>2014-08-06T16:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: DB SQL inside QV script</title>
      <link>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724497#M1072167</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;you can do this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAMEOFTABLE:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;LOAD&lt;/SPAN&gt; ID &lt;SPAN style="color: #0000ff;"&gt;AS&lt;/SPAN&gt; &lt;SPAN class="br0"&gt;[&lt;/SPAN&gt;FIELD&lt;SPAN class="br0"&gt;]&lt;/SPAN&gt;, ...&lt;/P&gt;&lt;P&gt;SQL &lt;SPAN style="color: #0000ff;"&gt;SELECT&lt;/SPAN&gt; ID,... &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt; Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards;&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 16:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724497#M1072167</guid>
      <dc:creator />
      <dc:date>2014-08-06T16:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: DB SQL inside QV script</title>
      <link>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724498#M1072168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Within QlikView, you can combine SQL script with QlikView Script. A typical script combining both kinds of script would be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load *; //1&lt;/P&gt;&lt;P&gt;SQL &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Select * from msd.emp where empid&amp;gt;10;&amp;nbsp;&amp;nbsp; //2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//1. This is called preceding load. this part is what qlikview does after receiving the SQL script. Here you can either fetch the same data or narrow your extraction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;//2. THE SQL statement indicates that everything after this will be sent to the database and therefore executed there. The final result wil be received by QlikView where you can manage it depending on your needs.&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;so this script executes from bottom to top,&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;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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 16:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724498#M1072168</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-08-06T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: DB SQL inside QV script</title>
      <link>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724499#M1072169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just add the name of qlikview table and the sql prefix to your statement&amp;nbsp; in the script editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qlikviewtable:&lt;/P&gt;&lt;P&gt;sql &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;&lt;STRONG&gt;Select * from msd.emp where empid&amp;gt;10&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; font-size: 12.800000190734863px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 16:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724499#M1072169</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-06T16:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: DB SQL inside QV script</title>
      <link>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724500#M1072170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Massimo Grossi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply and it works absolutely fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 01:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB-SQL-inside-QV-script/m-p/724500#M1072170</guid>
      <dc:creator />
      <dc:date>2014-08-07T01:32:49Z</dc:date>
    </item>
  </channel>
</rss>

