<?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 Updating SQL Table through QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144389#M23329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;I use QlikView to identfy record owner conflict and would like to update the SQL DB based on the query result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2009 01:47:28 GMT</pubDate>
    <dc:creator>niegel</dc:creator>
    <dc:date>2009-05-19T01:47:28Z</dc:date>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144389#M23329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;I use QlikView to identfy record owner conflict and would like to update the SQL DB based on the query result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 01:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144389#M23329</guid>
      <dc:creator>niegel</dc:creator>
      <dc:date>2009-05-19T01:47:28Z</dc:date>
    </item>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144390#M23330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niegel,&lt;/P&gt;&lt;P&gt;No this is not possible since QlikView per definition accesses databases in read-only mode.&lt;/P&gt;&lt;P&gt;regards Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 02:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144390#M23330</guid>
      <dc:creator />
      <dc:date>2009-05-19T02:09:17Z</dc:date>
    </item>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144391#M23331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;BR /&gt;It is possible to use read/write mode. I used it to cerate and to drop index, but it could be used for any SQL statement.&lt;BR /&gt;(Or maybe it was changed recently? I did it long ago, probably in QV 5...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 20:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144391#M23331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-19T20:47:17Z</dc:date>
    </item>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144392#M23332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be done using a Macro&lt;/P&gt;&lt;P&gt;Here is an example.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;sub Connection&lt;BR /&gt;&lt;BR /&gt;set conn=CreateObject("ADODB.Connection")&lt;BR /&gt;conn.Open "CONQ"&lt;BR /&gt;set rs=CreateObject("ADODB.recordset")&lt;BR /&gt;risque = getVariable("Change")&lt;BR /&gt;&lt;BR /&gt;set inventory = ActiveDocument.Fields("codeinv").GetPossibleValues&lt;BR /&gt;&lt;BR /&gt;for i = 0 to inventory.Count-1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;' Database Update&lt;BR /&gt;&lt;BR /&gt; sql="UPDATE invd3 SET "&lt;BR /&gt; sql=sql &amp;amp; "risqueqte='" &amp;amp; risque &amp;amp; "'"&lt;BR /&gt; sql=sql &amp;amp; " WHERE codeinv='" &amp;amp; inventory.item(i).Text &amp;amp; "'"&lt;BR /&gt;&lt;BR /&gt; on error resume next&lt;BR /&gt; conn.Execute sql&lt;BR /&gt; if err &amp;lt;&amp;gt; 0 then&lt;BR /&gt; msgbox("No update permissions! " &amp;amp; err )&lt;BR /&gt; end if&lt;BR /&gt;'End of the Update&lt;BR /&gt;Next&lt;BR /&gt;conn.close&lt;BR /&gt;end sub&lt;BR /&gt;&lt;BR /&gt;function getVariable(varName)&lt;BR /&gt; set v = ActiveDocument.Variables(varName)&lt;BR /&gt; getVariable = v.GetContent.String&lt;BR /&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 21:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144392#M23332</guid>
      <dc:creator />
      <dc:date>2009-05-19T21:06:33Z</dc:date>
    </item>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144393#M23333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Philippe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is interesting. I'll try it out and give my feedback about this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niegel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 02:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144393#M23333</guid>
      <dc:creator>niegel</dc:creator>
      <dc:date>2009-05-20T02:16:54Z</dc:date>
    </item>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144394#M23334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very interesting. Can somebody confirm that you can update data sources from a reload script in the current QlikView version (8.5 or 9)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 18:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144394#M23334</guid>
      <dc:creator />
      <dc:date>2009-05-20T18:14:16Z</dc:date>
    </item>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144395#M23335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's in 9&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 15:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144395#M23335</guid>
      <dc:creator />
      <dc:date>2011-04-06T15:17:17Z</dc:date>
    </item>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144396#M23336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is possible to write back to database through macros irrespective of script privilages in the edit script section.&lt;/P&gt;&lt;P&gt;Using vb script I am writing back to the database(MYSQL) and selecting the data from database(MYSQL) with reloading of QVW file. Macros are triggered while opening the sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 15:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144396#M23336</guid>
      <dc:creator />
      <dc:date>2011-04-06T15:27:21Z</dc:date>
    </item>
    <item>
      <title>Updating SQL Table through QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144397#M23337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using a restful api it makes it simple too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 15:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-SQL-Table-through-QlikView/m-p/144397#M23337</guid>
      <dc:creator />
      <dc:date>2011-04-06T15:46:39Z</dc:date>
    </item>
  </channel>
</rss>

