<?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: Problem executing multiple SQL statements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597339#M678730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have problem with the several scripts, a recommendation is working with multiple tabs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="multiple scripts.JPG.jpg" class="jive-image" src="/legacyfs/online/58363_multiple scripts.JPG.jpg" style="width: 620px; height: 163px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must have in mind the recommendation of Alessandro, where every single script must end with ";"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field_a, field_b from mytable where condition;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JFlorian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2014 16:26:14 GMT</pubDate>
    <dc:creator>javier_florian</dc:creator>
    <dc:date>2014-05-05T16:26:14Z</dc:date>
    <item>
      <title>Problem executing multiple SQL statements</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597337#M678728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully established ODBC connection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I write multiple SQL Statements, one after another, only the 1st one executes successfully whereas the subsequent one fails/doesn't do anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wan to understand the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Why only&amp;nbsp; the first one executes? How can I make 2nd SQL satement work? When it didn't work in the same tab I created another tab and put it there and reloaded script still it executed first one but the second one remained untouched. DO I need ODBC connection string in each tab? Do I need Load statement for each SQL, if YES, why the 1st one executed without Load statement?&lt;/P&gt;&lt;P&gt;2. Is there a way I can go to Edit Script --&amp;gt; Data Tab --&amp;gt; Select --&amp;gt; Create Select Statement window --&amp;gt; Script and write my SQL there so that it executes against my Database that I am connected to and get my desired results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 16:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597337#M678728</guid>
      <dc:creator />
      <dc:date>2014-05-05T16:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing multiple SQL statements</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597338#M678729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there the ; after the last instruction in your select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * form mytable where condition;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 16:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597338#M678729</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-05T16:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing multiple SQL statements</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597339#M678730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have problem with the several scripts, a recommendation is working with multiple tabs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="multiple scripts.JPG.jpg" class="jive-image" src="/legacyfs/online/58363_multiple scripts.JPG.jpg" style="width: 620px; height: 163px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must have in mind the recommendation of Alessandro, where every single script must end with ";"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field_a, field_b from mytable where condition;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JFlorian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 16:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597339#M678730</guid>
      <dc:creator>javier_florian</dc:creator>
      <dc:date>2014-05-05T16:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing multiple SQL statements</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597340#M678731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post your script here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 16:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597340#M678731</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-05-05T16:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing multiple SQL statements</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597341#M678732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-avatarid="5689" data-externalid="" data-online="false" data-presence="null" data-userid="82367" data-username="Alexandros17" href="https://community.qlik.com/people/Alexandros17"&gt;Alessandro Saccoe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A BIG Thank YOU. It worked. I didn't realize that a semicolon (;) was required after each SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spent a couple of hours trying different things like putting SQL statements under different TABS, etc and I was very frustrated at the end. Finally, I created my account and post a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May GOD bless you and I hope to stay in touch with you. It's a good community work. It really helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Kindest Regards,&lt;/P&gt;&lt;P&gt;SD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 17:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597341#M678732</guid>
      <dc:creator />
      <dc:date>2014-05-05T17:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing multiple SQL statements</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597342#M678733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got my problem solved. Thank you for your help. It is a good community work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 17:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-executing-multiple-SQL-statements/m-p/597342#M678733</guid>
      <dc:creator />
      <dc:date>2014-05-05T17:39:34Z</dc:date>
    </item>
  </channel>
</rss>

