<?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 Error when Loading a qvd from qvw in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752706#M268214</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 am a qlikview novice and I would need your suggestion.In one of our reports. We are using a qvw file which internally creates a temporary table and then inserts the records of the temp table into a sales table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute the load ,the load happens for sometimes and then an error pops up which says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"SQL State:07002,Errorcode:32, ErrorMsg: The # of binded parameters &amp;lt;the # of the parameters markers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interesting part is when I change the database connection from production to quality and development , the load happens properly. I am not sure why this is happening only in production environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help in this matter would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2015 23:03:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-07T23:03:21Z</dc:date>
    <item>
      <title>SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752706#M268214</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 am a qlikview novice and I would need your suggestion.In one of our reports. We are using a qvw file which internally creates a temporary table and then inserts the records of the temp table into a sales table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute the load ,the load happens for sometimes and then an error pops up which says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"SQL State:07002,Errorcode:32, ErrorMsg: The # of binded parameters &amp;lt;the # of the parameters markers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interesting part is when I change the database connection from production to quality and development , the load happens properly. I am not sure why this is happening only in production environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help in this matter would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 23:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752706#M268214</guid>
      <dc:creator />
      <dc:date>2015-01-07T23:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752707#M268215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are INSERTing data from Qlikview into a SQL table using a "SQL INSERT ..." statement? What database server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 23:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752707#M268215</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-07T23:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752708#M268216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Thanks for the prompt response. The database server we are using is Greenplum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 00:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752708#M268216</guid>
      <dc:creator />
      <dc:date>2015-01-08T00:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752709#M268217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please upload a sample QVW file or the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what you have mentioned, it would be advisable to set your script to get all the data from multiple tables and then use Resident Load to create your Combined Fact table and then you can drop your temp tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can load all the information into qvd files with required data and then create your fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If this helped you, please mark as Helpful. If it solves your issue, please mark as Answer&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If you are viewing this topic and found it informative, please like my comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 00:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752709#M268217</guid>
      <dc:creator>djsampat</dc:creator>
      <dc:date>2015-01-08T00:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752710#M268218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just want to confirm that you are INSERTing back into the GreenPlum database? The reason I ask is that 99.99% of users have never used Qlikview to update a SQL database. It's an unusual case. I just want to confirm that you trying to update SQL, not trying to create a Qlikview in memory table or QVD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 01:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752710#M268218</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-08T01:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752711#M268219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies. I am trying to insert data into qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 01:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752711#M268219</guid>
      <dc:creator />
      <dc:date>2015-01-08T01:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752712#M268220</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;Check this thread hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6655"&gt;Inserting records into Database using Qlikview Script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 02:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752712#M268220</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-01-08T02:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752713#M268221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following is a simple example of how you would read data from your SQL Server and then save the data that you've read into a QVD file that you can reuse by other QVW's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1: Use the Connect wizard to create the connection to your database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2: Load the data&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;TableSizes:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DatabaseName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;IndexName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Measured_Date"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NumberRows&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ServerName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TableName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT DatabaseName,&lt;BR /&gt; IndexName,&lt;BR /&gt; "Measured_Date",&lt;BR /&gt; NumberRows,&lt;BR /&gt; ServerName,&lt;BR /&gt; TableName&lt;BR /&gt; FROM ServerDatabaseSizes.dbo.TableSizes&lt;BR /&gt; where ServerName = 'DB1'&lt;BR /&gt; and DatabaseName = 'NotifyXP';&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3: Save the table you loaded into the desired QVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Store&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TableSizes &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TableSizes.qvd (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;QVD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;STORE is the keyword you want to search on in the QlikView help to understand more about the options. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope this helps you out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 02:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752713#M268221</guid>
      <dc:creator />
      <dc:date>2015-01-08T02:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752714#M268222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dalton. The place where the script is failing is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL State:07002,Errorcode:32, ErrorMsg: The # of binded parameters &amp;lt;the # of the parameters markers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sql &lt;/P&gt;&lt;P&gt;sql&amp;nbsp;&amp;nbsp; create temp table Nirvana_Cancel as&lt;/P&gt;&lt;P&gt;Select &lt;/P&gt;&lt;P&gt; Extract(Month From Air_Itinerary.Cancelation_Date) BOOKEDMONTH&lt;/P&gt;&lt;P&gt;,Extract(Year From Air_Itinerary.Cancelation_Date) BOOKEDYEAR&lt;/P&gt;&lt;P&gt;,Dim_DemandChain.dmdchainposcode as AGENCYCODE&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;Any clue why this would happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 04:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752714#M268222</guid>
      <dc:creator />
      <dc:date>2015-01-08T04:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752715#M268223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks Dhruv. The place where the script is failing is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL State:07002,Errorcode:32, ErrorMsg: The # of binded parameters &amp;lt;the # of the parameters markers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sql&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sql&amp;nbsp;&amp;nbsp; create temp table Nirvana_Cancel as&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Select&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Extract(Month From Air_Itinerary.Cancelation_Date) BOOKEDMONTH&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Extract(Year From Air_Itinerary.Cancelation_Date) BOOKEDYEAR&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Dim_DemandChain.dmdchainposcode as AGENCYCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;...........................................................................................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;..............................................................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Any clue why this would happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Abhay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 04:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752715#M268223</guid>
      <dc:creator />
      <dc:date>2015-01-08T04:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752716#M268224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan. I am getting "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f3e1dd;"&gt;Access to this place or content is restricted." when I click on this link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 04:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752716#M268224</guid>
      <dc:creator />
      <dc:date>2015-01-08T04:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752717#M268225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="margin-right: 100px; padding-left: 32px; font-style: inherit; font-size: 26px; font-family: inherit;"&gt;Inserting records into Database using Qlikview Script&lt;/H1&gt;&lt;P class="font-color-meta j-byline" style="margin: 5px 0 12px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; color: #8b8b8b;"&gt;created by &lt;A href="https://community.qlik.com/people/jagan"&gt;jagan&lt;/A&gt; &lt;SPAN class="icon-status-icon icon-partner" style="margin: 0 0 0 4px; font-weight: inherit; font-style: inherit; font-family: inherit;" title="Partner"&gt;&lt;/SPAN&gt; on 29 May, 2014 2:11 AM, last modified by &lt;A href="https://community.qlik.com/people/jagan"&gt;jagan&lt;/A&gt; &lt;SPAN class="icon-status-icon icon-partner" style="margin: 0 0 0 4px; font-weight: inherit; font-style: inherit; font-family: inherit;" title="Partner"&gt;&lt;/SPAN&gt; on 10 Aug, 2014 1:08 PM&lt;/P&gt;&lt;DIV class="j-version j-rc4" style="padding: 3px 12px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-6655/diff?secondVersionNumber=2" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #8ca9cd;"&gt;&lt;SPAN class="jive-icon-versions jive-icon-sml" style="margin-top: 1px; margin-right: 5px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;Version 2&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="j-ui-elem j-page-crease" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: no-repeat;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi, this is the details in that link check the below &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; ============================&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;The below script helps to insert data from Qlikview to Database using Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;//Connection Sring&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;ODBC Connect to trDatabase;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;//Load Data from Excel file&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;TABLE:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LOAD transaction_date,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; site&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FROM&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;[Data.xlsx]&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;// Getting number of records in Table&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LET V_ROWS = NoOfRows('TABLE');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;// Loop through the records and insert into Database table&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FOR V_ROW = 0 TO V_ROWS - 1&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LET V_FIELD1 = Peek('transaction_date',V_ROW);&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LET V_FIELD2 = Peek('location',V_ROW);&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LET V_FIELD3 = Peek('item',V_ROW);&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LET V_FIELD4 = Peek('site',V_ROW);&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;SQL INSERT INTO dbo.temp_Table(transaction_date, location,item, site) VALUES('$(V_FIELD1)','$(V_FIELD2)', '$(V_FIELD3)','$(V_FIELD4)');&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;NEXT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Regards,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 05:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752717#M268225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T05:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752718#M268226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it works in Quality and Development, then it may be an access issue. Check your SQL security access.&lt;/P&gt;&lt;P&gt;Is the user you used on the Q&amp;amp;D database granted access to the Production DB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If this helped you, please mark as Helpful. If it solves your issue, please mark as Answer&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If you are viewing this topic and found it informative, please like my comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 06:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752718#M268226</guid>
      <dc:creator>djsampat</dc:creator>
      <dc:date>2015-01-08T06:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752719#M268227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;You may check two things here.&lt;/P&gt;&lt;P&gt;1) What is the "user-name" your QV app has, when it strikes the Production Database? (You my change the pointer to Dev or QA DB where I assume you should have the read access to system views and from there get the user-name. Because it might be possible that the user-id with which you are connecting to QA or DEV, through QV app, is a Unique ID and not a generic one, thus have a different privilege)&lt;/P&gt;&lt;P&gt;2) Then once you get that "QV user", please find if it has privilege to create tables in Production DB&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 07:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752719#M268227</guid>
      <dc:creator />
      <dc:date>2015-01-08T07:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Error when Loading a qvd from qvw</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752720#M268228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a guess but your SQL command isn't "just" a select statement. You are telling your database to create&amp;nbsp; TEMPORARY table with the results of your select command. To read the data into QlikView simply remove the extra "sql create temp table Nirvana_Cancel as" and just go with the "sql .. select Extract..."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 14:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Error-when-Loading-a-qvd-from-qvw/m-p/752720#M268228</guid>
      <dc:creator />
      <dc:date>2015-01-08T14:39:38Z</dc:date>
    </item>
  </channel>
</rss>

