<?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: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459409#M702176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure but I think there is a problem when QV sends SQL statement with &lt;STRONG&gt;Declare&lt;/STRONG&gt; clause at beginning. Maybe this causes a problem between QV and ODBC driver. I use "&lt;STRONG&gt;System i Access for Windows ODBC data source&lt;/STRONG&gt;" driver. It works fine when I use it under WinSQL but then when I use the same ODBC connection I get error. I don't know who should I ask about it. This is very important for me becouse I need to optimize my SQL statements. In couple of my QV apps. I load data from many tables and limit their data using data from another table but now I need to SELECT this table many times in my script. With Temporary Tables I would be able to load it only once and use in during whole script execution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2012 11:26:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-05T11:26:10Z</dc:date>
    <item>
      <title>I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459402#M702169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not able to optimize my SQL statements in QlikView becouse I'm not able to use feature from DB2 database which is called "GLOBAL TEMPORARY TABLE". Becouse QlikView works only in read-only I cannot send any insert or update statement using SQL via ODBC connection. In program WInSQL (maybe some of you know this program) I'm able to send any SQL statement I want so it's not limitation from ODBC driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact I'm able to use insert/update when I use MS SQL server os MySQL so this "read-only" isn't so true in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run my SQL statement in QV (which declares temporary table in DB2 database) i get such error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;SQL Error:[IBM][System i Access ODBC Driver]Statement violates access rule: Connection is set to read only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;SQL Scriptline:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;SQL State:37000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;SQL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;DECLARE GLOBAL TEMPORARY TABLE TEMP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp; (MMITNO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHAR(15)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOT NULL)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody can help ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 10:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459402#M702169</guid>
      <dc:creator />
      <dc:date>2012-10-02T10:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459403#M702170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can declare in your ODBC connection to set it to read-write as well. Go to the Control Panel, Administrative Tools, Data Sources, and set there the corresponding setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, go to the Script Editor window, select from the bottom the tab Settings and ensure that "Open Databases in Read and Write mode" is enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But apart from that, the user specified in the ODBC must have permissions in the database to create temporary tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 10:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459403#M702170</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-10-02T10:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459404#M702171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that my ODBC conncection is set for read and write. I use this connection in another program and it works fine but in QV I'm not able to send any write statement at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 10:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459404#M702171</guid>
      <dc:creator />
      <dc:date>2012-10-02T10:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459405#M702172</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;Did you set the Script Editor as mentioned? Are you using the same user in your ODBC and the other computer? I only see here two issues: first is the ODBC configuration, second is QlikView configuration, but QlikView should allow you to write if you specify so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 11:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459405#M702172</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-10-02T11:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459406#M702173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there an key AllowProcCalls in the registry for that datasource with the value 1? Should be under &lt;/P&gt;&lt;P&gt;HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ or HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\&lt;/P&gt;&lt;P&gt;If not try adding it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 11:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459406#M702173</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-02T11:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459407#M702174</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 get the same error even when I've checked option &lt;STRONG&gt;Open Database in Read and Write mode&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Maybe QlikView has problems to send write statements using iSeries ODBC driver (official from IBM for DB2).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 11:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459407#M702174</guid>
      <dc:creator />
      <dc:date>2012-10-02T11:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459408#M702175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have it and it's set to "&lt;STRONG&gt;0&lt;/STRONG&gt;". When I've changed it to "&lt;STRONG&gt;1&lt;/STRONG&gt;" nothing has changed when I tried to run QV script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 11:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459408#M702175</guid>
      <dc:creator />
      <dc:date>2012-10-02T11:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459409#M702176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure but I think there is a problem when QV sends SQL statement with &lt;STRONG&gt;Declare&lt;/STRONG&gt; clause at beginning. Maybe this causes a problem between QV and ODBC driver. I use "&lt;STRONG&gt;System i Access for Windows ODBC data source&lt;/STRONG&gt;" driver. It works fine when I use it under WinSQL but then when I use the same ODBC connection I get error. I don't know who should I ask about it. This is very important for me becouse I need to optimize my SQL statements. In couple of my QV apps. I load data from many tables and limit their data using data from another table but now I need to SELECT this table many times in my script. With Temporary Tables I would be able to load it only once and use in during whole script execution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 11:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459409#M702176</guid>
      <dc:creator />
      <dc:date>2012-10-05T11:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459410#M702177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had a similar issue in Oracle and did the following in the CONNECT statement. Check to see if this works for a DB2 connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [XXXXXXXX] (XUserId is XXXXXXXX, XPassword is XXXXXXXX, &lt;STRONG&gt;Mode is write)&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 15:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459410#M702177</guid>
      <dc:creator>fortuinw</dc:creator>
      <dc:date>2013-06-13T15:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459411#M702178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wayne&lt;/P&gt;&lt;P&gt;That's it !!!!&lt;/P&gt;&lt;P&gt;Thanks man &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;You have bunch of beers from me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 08:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459411#M702178</guid>
      <dc:creator />
      <dc:date>2013-06-18T08:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: I'm not able to use GLOBAL TEMPORARY TABLE (QV is read-only)</title>
      <link>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459412#M702179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are my HERO! I've spend 2 days for it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 09:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-m-not-able-to-use-GLOBAL-TEMPORARY-TABLE-QV-is-read-only/m-p/459412#M702179</guid>
      <dc:creator />
      <dc:date>2013-08-09T09:15:24Z</dc:date>
    </item>
  </channel>
</rss>

