<?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 SQL Stored Procedures ---Format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedures-Format/m-p/468107#M174806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I run my procedure, I'm not getting any messages.&lt;/P&gt;&lt;P&gt;My stored procedure creates a table in DB2 by running 2 sqls.&amp;nbsp;&amp;nbsp; My stored proc (ABC.P) is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RU&amp;nbsp; ABC.QUERY1&lt;/P&gt;&lt;P&gt;SAVE DATA AS ABC.T1&amp;nbsp; (NO CONFIRM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RU ABC.QUERY2&lt;/P&gt;&lt;P&gt;SAVE DATA AS ABC.T1 (APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running in Script:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;connect to DB2P (mode is write);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB2_T1:&lt;/P&gt;&lt;P&gt;load *;&lt;/P&gt;&lt;P&gt;SQL exec&amp;nbsp;&amp;nbsp; ABC.P&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No table called ABC.T1 is produced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 18:55:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-04T18:55:59Z</dc:date>
    <item>
      <title>SQL Stored Procedures ---Format</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedures-Format/m-p/468107#M174806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I run my procedure, I'm not getting any messages.&lt;/P&gt;&lt;P&gt;My stored procedure creates a table in DB2 by running 2 sqls.&amp;nbsp;&amp;nbsp; My stored proc (ABC.P) is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RU&amp;nbsp; ABC.QUERY1&lt;/P&gt;&lt;P&gt;SAVE DATA AS ABC.T1&amp;nbsp; (NO CONFIRM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RU ABC.QUERY2&lt;/P&gt;&lt;P&gt;SAVE DATA AS ABC.T1 (APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running in Script:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;connect to DB2P (mode is write);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB2_T1:&lt;/P&gt;&lt;P&gt;load *;&lt;/P&gt;&lt;P&gt;SQL exec&amp;nbsp;&amp;nbsp; ABC.P&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No table called ABC.T1 is produced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 18:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedures-Format/m-p/468107#M174806</guid>
      <dc:creator />
      <dc:date>2012-10-04T18:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Stored Procedures ---Format</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedures-Format/m-p/468108#M174807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, there is an additional security check box at the bottom of the script editor - Settings tab - "Open databases in read and write mode". Then it should work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, QlikView sends everything found between the "SQL" and the semicolon to the ODBC so it all depends on which syntax it accepts. I have seen both "EXEC" and "EXECUTE"; I have seen cases where you need to put quotes around the SP name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, you may also need to check that you have rights on the DB to run the stored procedures this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 11:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Stored-Procedures-Format/m-p/468108#M174807</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-10-05T11:38:14Z</dc:date>
    </item>
  </channel>
</rss>

