<?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 AW:SQL INSERT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183616#M48804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left"&gt;Anyone tested this?&lt;/P&gt;&lt;P style="text-align: left"&gt;Dynamic Data Update&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left"&gt;For the first time in QlikView history, it is possible to&lt;BR /&gt;programmatically update field data in real-time without&lt;BR /&gt;running the script. Via new APIs and more or less standard&lt;BR /&gt;SQL insert, update and delete commands, any QlikView&lt;BR /&gt;field data can be updated directly in RAM. On a server the&lt;BR /&gt;updated data is pushed out to the clients.&lt;BR /&gt;This functionality is freely available in stand-alone&lt;BR /&gt;QlikView but requires an additional license on QlikView&lt;BR /&gt;Server. See the QlikView API Guide for more information.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2009 14:49:18 GMT</pubDate>
    <dc:creator>johnan</dc:creator>
    <dc:date>2009-09-11T14:49:18Z</dc:date>
    <item>
      <title>SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183613#M48801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to use "Insert into" tables from QV. Does QV9 have this or is there any macros?&lt;/P&gt;&lt;P&gt;I want to insert 7 columns from my table in QV into the database.&lt;/P&gt;&lt;P&gt;I've tried to find in forum but no good luck.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183613#M48801</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-09-11T14:26:33Z</dc:date>
    </item>
    <item>
      <title>AW:SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183614#M48802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK there's no "insert into" in QlikView standard. If you want to write back to the database you have to do it by a macro. Another approach might be executing a stored procedure from script.&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183614#M48802</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-09-11T14:32:03Z</dc:date>
    </item>
    <item>
      <title>AW:SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183615#M48803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, are the any examples hor how to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183615#M48803</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-09-11T14:46:58Z</dc:date>
    </item>
    <item>
      <title>AW:SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183616#M48804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left"&gt;Anyone tested this?&lt;/P&gt;&lt;P style="text-align: left"&gt;Dynamic Data Update&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left"&gt;For the first time in QlikView history, it is possible to&lt;BR /&gt;programmatically update field data in real-time without&lt;BR /&gt;running the script. Via new APIs and more or less standard&lt;BR /&gt;SQL insert, update and delete commands, any QlikView&lt;BR /&gt;field data can be updated directly in RAM. On a server the&lt;BR /&gt;updated data is pushed out to the clients.&lt;BR /&gt;This functionality is freely available in stand-alone&lt;BR /&gt;QlikView but requires an additional license on QlikView&lt;BR /&gt;Server. See the QlikView API Guide for more information.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183616#M48804</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-09-11T14:49:18Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183617#M48805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dynamic Data Update does NOT modify databases or (datasources in general); this is only DML for the QV data in memory!&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 14:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183617#M48805</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-09-11T14:53:20Z</dc:date>
    </item>
    <item>
      <title>SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183618#M48806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am too wanting to do "write back" to my SQL-database (In this case Teradata, where our EDW resides).&lt;/P&gt;&lt;P&gt;We are currently on QV 8.5, and the Insert Into -syntax is supported in a very simple form, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;ODBC&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;CONNECT&lt;/B&gt; &lt;B&gt;TO&lt;/B&gt; COOPDW (XUserId is ... &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SQL INSERT&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;INTO TRN_A_D_DK.WLt_Temp_Experim_QvImp_A values (2, 'textA', 'textB');&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if it is possible to use variables read from a QV-source instead of the constant values in the example above ?&lt;/P&gt;&lt;P&gt;//Bo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 16:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183618#M48806</guid>
      <dc:creator />
      <dc:date>2010-05-28T16:08:06Z</dc:date>
    </item>
    <item>
      <title>SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183619#M48807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;As you can not write back into a DB directly from QV what you can do is create a text file with SQL commands and e.g. execute sqlplus to run the updates for you.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 16:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183619#M48807</guid>
      <dc:creator />
      <dc:date>2010-05-28T16:17:49Z</dc:date>
    </item>
    <item>
      <title>SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183620#M48808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way i know to write into sql tables is using ADO objects within a macro.&lt;/P&gt;&lt;P&gt;the ADO method is a very easy and flexible way to read and write into db tables.&lt;/P&gt;&lt;P&gt;There are a lot of examples on the web how to use it within vbs.&lt;/P&gt;&lt;P&gt;here is an basic example:&lt;/P&gt;&lt;P style="text-align:left;margin:0cm 0cm 10pt;unicode-bidi:embed;direction:ltr;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;sub update_table&lt;/P&gt;&lt;P style="text-align:left;margin:0cm 0cm 10pt;unicode-bidi:embed;direction:ltr;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;set objconnection = creatobject("ADODB.Connection")&lt;/P&gt;&lt;P style="text-align:left;margin:0cm 0cm 10pt;unicode-bidi:embed;direction:ltr;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;set objrecordset = creatobject ("ADODB.Recordset")&lt;/P&gt;&lt;P style="text-align:left;margin:0cm 0cm 10pt;unicode-bidi:embed;direction:ltr;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;objConnection.Open Provider=SQLOLEDB.1;Persist Security Info=True;User ID=yadb1_user;Initial Catalog=yadb1;Data Source=xx.xx.xx.xx;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=xxxxxxx;Use Encryption for Data=False;Tag with column collation when possible=False;pwd=1q2w3e;"&lt;/P&gt;&lt;P style="text-align:left;margin:0cm 0cm 10pt;unicode-bidi:embed;direction:ltr;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;objRecordset.Open "table1", objConnection, adOpenDynamic,3&lt;/P&gt;&lt;P style="text-align:left;margin:0cm 0cm 10pt;unicode-bidi:embed;direction:ltr;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;objRecordset.addnew&lt;/P&gt;&lt;P style="text-align:left;margin:0cm 0cm 10pt;unicode-bidi:embed;direction:ltr;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;objRecordset.Fields.Item("ID")= 123&lt;/P&gt;&lt;P style="text-align:left;margin:0cm 0cm 10pt;unicode-bidi:embed;direction:ltr;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 17:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183620#M48808</guid>
      <dc:creator />
      <dc:date>2010-05-28T17:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183621#M48809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;STRONG&gt;With OLEDB CONNECTION and SQLSERVER this work:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG style="color: #0000ff;"&gt;LET &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;Nrecord&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;('Tabella'); &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;sql&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; truncate table Auth.dbo.test;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;i&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt; = 1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Nrecord&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;('id',&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;value&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;('value',&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;sql&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; insert into Auth.dbo.test values('$(id)','$(value)');&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;i &lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 1;"&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 13:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183621#M48809</guid>
      <dc:creator />
      <dc:date>2011-11-04T13:23:01Z</dc:date>
    </item>
    <item>
      <title>AW:SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183622#M48810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Just saw this post - you can actually use a text file for Qlikview to interpret SQL insert/update commands using a load script.&amp;nbsp; Just set the right permissions in the document for updating databases and have each line preceded by an SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp; insertfile.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sql insert into employee (val1, val2);&lt;/P&gt;&lt;P&gt;sql insert into employee (val1, val2)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have the right connector before the following line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;incudee drive:\path\insertfile.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each line will be inserted or update.&amp;nbsp; You can also generate directories of sql statement text files and use a filelist loop to process all the sql as individual includes - the output looks like this:&lt;/P&gt;&lt;P&gt;OLEDB CONNECT*Provider*XPassword*&lt;/P&gt;&lt;P&gt;5/18/2012 9:01:02 AM: 0018&amp;nbsp; for each vfilefound in filelist('E:\qv\datasource\testing\inprocess\*.sql')&lt;/P&gt;&lt;P&gt;5/18/2012 9:01:02 AM: 0020&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL Update REPORT_DEV.STG_ENVCOMPARE_STATUS SET etc;&lt;/P&gt;&lt;P&gt;5/18/2012 9:01:56 AM: 0002&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL Update REPORT_DEV.STG_ENVCOMPARE_STATUS SET etc. &lt;/P&gt;&lt;P&gt;5/18/2012 9:01:57 AM: 0003&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL Update REPORT_DEV.STG_ENVCOMPARE_STATUS SET etc.&lt;/P&gt;&lt;P&gt;next filefound&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 13:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183622#M48810</guid>
      <dc:creator>rharmsny</dc:creator>
      <dc:date>2012-05-18T13:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: AW:SQL INSERT</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183623#M48811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need to use the $(Include=e:\temp\insert_test.txt); syntax unless you really have a reason to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can simply write your SQL insert statements in the QV load script, along these lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO postgres_server1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INSERT INTO table1 VALUES ('2012-08-01', 'SE', 345, 0.345);&lt;/P&gt;&lt;P&gt;SQL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INSERT INTO table1 VALUES ('2012-08-01', 'SE', 456, 0.456);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above has been verified to work with PostgreSQL, using their standard ODBC 64 bit Unicode driver.&lt;/P&gt;&lt;P&gt;Please note however that there is a readonly check box in the ODBC driver settings. Obviously, it should not be checked...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems there is a bug in the help file relating to this. In QV11 SR1 the help text for "SQL" states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Sending SQL statements which update the database will return an error, since QlikView per definition accesses all ODBC sources in read-only mode."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAICT that is simply not true, at least not when connecting to PostgreSQL databases. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Göran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 12:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-INSERT/m-p/183623#M48811</guid>
      <dc:creator>mountaindude</dc:creator>
      <dc:date>2012-08-15T12:30:58Z</dc:date>
    </item>
  </channel>
</rss>

